diff --git a/signup.php b/signup.php index 575a332a1..325ac4bd2 100644 --- a/signup.php +++ b/signup.php @@ -204,11 +204,11 @@ class signup // 'resend_newemail' - corrected email address // 'resend_password' - password (required if changing email address) - $clean_email = $tp->toDB($_POST['resend_email']); - if(!check_email($clean_email)) + $clean_email = $tp->toDB($_POST['resend_email']); // may also be username + /*if(!check_email($clean_email)) { $clean_email = "xxx"; - } + }*/ $new_email = $tp->toDB(varset($_POST['resend_newemail'], '')); if(!check_email($new_email )) @@ -290,7 +290,7 @@ class signup if(!$result) { - e107::getMessage()->setTitle(LAN_SIGNUP_43,E_MESSAGE_ERROR)->addError(LAN_SIGNUP_42); + e107::getMessage()->setTitle(LAN_ERROR,E_MESSAGE_ERROR)->addError(LAN_SIGNUP_42); $ns->tablerender(null, e107::getMessage()->render()); $do_log['signup_result'] = LAN_SIGNUP_62; } @@ -1107,7 +1107,4 @@ function headerjs() //global $cal; // XXX - can this be removed completely? //$script_txt .= $cal->load_files(); return $script_txt; -} - - -?> \ No newline at end of file +} \ No newline at end of file