Revision 665
Added by thorn over 17 years ago
| trunk/wb/account/signup2.php | ||
|---|---|---|
| 94 | 94 |
} |
| 95 | 95 |
|
| 96 | 96 |
// Check if the email already exists |
| 97 |
$results = $database->query("SELECT user_id FROM ".TABLE_PREFIX."users WHERE email = '".$wb->add_slashes($email."'");
|
|
| 97 |
$results = $database->query("SELECT user_id FROM ".TABLE_PREFIX."users WHERE email = '".$wb->add_slashes($email)."'");
|
|
| 98 | 98 |
if($results->numRows() > 0) {
|
| 99 | 99 |
if(isset($MESSAGE['USERS']['EMAIL_TAKEN'])) {
|
| 100 | 100 |
$wb->print_error($MESSAGE['USERS']['EMAIL_TAKEN'], $js_back, false); |
Also available in: Unified diff
fixed fixed typo :-(