inc/users.inc.php
changeset 8 47dd15d8bb8c
parent 4 55ed92aa7cf5
child 26 5d63f1e71d6e
--- 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