Project

General

Profile

« Previous | Next » 

Revision 803

Added by thorn over 16 years ago

some small fixes: group_id/groups_id-handling, safe_mode-query in install, better work-around for issue with phplib and code-module (removed {})

View differences:

signup2.php
107 107
$md5_password = md5($new_pass);
108 108

  
109 109
// Inser the user into the database
110
$query = "INSERT INTO ".TABLE_PREFIX."users (groups_id,active,username,password,display_name,email) VALUES ('$groups_id', '$active', '$username','$md5_password','$display_name','$email')";
110
$query = "INSERT INTO ".TABLE_PREFIX."users (group_id,groups_id,active,username,password,display_name,email) VALUES ('$groups_id', '$groups_id', '$active', '$username','$md5_password','$display_name','$email')";
111 111
$database->query($query);
112 112

  
113 113
if($database->is_error()) {

Also available in: Unified diff