Revert the isEmailAddress change so emails will actually send out again

This commit is contained in:
james 2007-12-09 22:18:29 +00:00
parent 9496c0fcf6
commit d024d30793

View File

@ -852,7 +852,7 @@ function outputStatus($status)
//returns true if its a valid email address, false if its not
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;
else
return false;