Commit 57f9b8dc authored by Antonio.Suerte's avatar Antonio.Suerte

Modified Email Address Check @ Registration form

parent edba4826
......@@ -314,13 +314,7 @@ class Checker extends Chiket {
* @return : 成功:TRUE、失敗:FALSE
-------------------------------------------------------------------------*/
function checkStringMailAddress($data) {
// 半角英数の正規表現チェック
if (!preg_match(PREG_MAIL_ADDRESS, $data)) {
return false;
}
return true;
return filter_var($data, FILTER_VALIDATE_EMAIL);
}
/*-------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment