forked from science-ation/science-ation
Revert the isEmailAddress change so emails will actually send out again
This commit is contained in:
parent
9496c0fcf6
commit
d024d30793
@ -852,7 +852,7 @@ function outputStatus($status)
|
|||||||
|
|
||||||
//returns true if its a valid email address, false if its not
|
//returns true if its a valid email address, false if its not
|
||||||
function isEmailAddress($str) {
|
function isEmailAddress($str) {
|
||||||
if(eregi('^[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.([a-zA-Z]{2,4})$', $str))
|
if(eregi('[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.([a-zA-Z]{2,4})', $str))
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user