diff --git a/user.inc.php b/user.inc.php index 4abcd96..bc043c8 100644 --- a/user.inc.php +++ b/user.inc.php @@ -355,6 +355,8 @@ function user_save($u) user_set_password($u['id'], $u['password']); foreach($u['types'] as $t) { + //give em a record, the primary key on the table takes care of uniqueness + $q=mysql_query("INSERT INTO users_$t (users_id) VALUES ('{$u['id']}')"); call_user_func("user_save_$t", $u); } }