Revision 106
Added by stefan about 19 years ago
signup2.php | ||
---|---|---|
75 | 75 |
} |
76 | 76 |
|
77 | 77 |
// Check if the email already exists |
78 |
$results = $database->query("SELECT user_id FROM ".TABLE_PREFIX."users WHERE email = '".$this->add_slashes($_POST['email'])."'");
|
|
78 |
$results = $database->query("SELECT user_id FROM ".TABLE_PREFIX."users WHERE email = '".$wb->add_slashes($_POST['email'])."'");
|
|
79 | 79 |
if($results->numRows() > 0) { |
80 | 80 |
if(isset($MESSAGE['USERS']['EMAIL_TAKEN'])) { |
81 | 81 |
$admin->print_error($MESSAGE['USERS']['EMAIL_TAKEN'], $js_back); |
Also available in: Unified diff
Renamed compatibility.php to frontend.functions.php.
Moved frontend functions from class frontend to frontend.functions.php.
Removed instances of strip_slashes_dummy. Replaced $this by $wb in a couple of places.
Created file initialize.php, where all initializations now take place (moved from class wb constructor).