diff -r ac0ca51809b1 -r 47dd15d8bb8c inc/users.inc.php --- a/inc/users.inc.php Wed Apr 18 22:48:49 2007 +0000 +++ b/inc/users.inc.php Sun Apr 22 07:20:09 2007 +0000 @@ -221,9 +221,7 @@ $fullname = mysql_escape_string($fullname); is_valid_email($email); - // Get id and insert information. - $idusers= $db->nextID('users'); - $db->query("INSERT INTO users (id, username, password, fullname, email, description, level, active) VALUES ($idusers, '$user', '" . md5($password) . "', '$fullname', '$email', '$description', '$level', '$active')"); + $db->query("INSERT INTO users (username, password, fullname, email, description, level, active) VALUES ('$user', '" . md5($password) . "', '$fullname', '$email', '$description', '$level', '$active')"); return true; } else