diff --git a/common.inc.php b/common.inc.php index b2a33f6..7304be5 100644 --- a/common.inc.php +++ b/common.inc.php @@ -872,7 +872,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;