# HG changeset patch # User rejo # Date 1177226869 0 # Node ID d55459cd1712de0e903d3ecd2fc927215150cdb6 # Parent 47dd15d8bb8ca2807c20dc49d1af326dff99f876 [feladat @ 22] - Fixed bug in install.php (was still using sequence stuff). - Changed alignment of columns in user listing in users.php. diff -r 47dd15d8bb8c -r d55459cd1712 install.php --- a/install.php Sun Apr 22 07:20:09 2007 +0000 +++ b/install.php Sun Apr 22 07:27:49 2007 +0000 @@ -142,13 +142,10 @@ error("Can not create zones table in $dbdatabase"); } - $id = $db->nextID('users'); - - /* TODO next version: fix the strip_slashes. might give trouble upgrading :/ -Lyon */ $sqlinsert = "INSERT INTO users + (username, password, fullname, email, description, level, active) VALUES ( - $id, '". $_POST['login'] ."', '". md5(stripslashes($_POST['password'])) ."', '". $_POST["fullname"] ."', diff -r 47dd15d8bb8c -r d55459cd1712 users.php --- a/users.php Sun Apr 22 07:20:09 2007 +0000 +++ b/users.php Sun Apr 22 07:27:49 2007 +0000 @@ -79,14 +79,14 @@