From d024d30793b25c65e4fe078a57b7c01ffdd96a78 Mon Sep 17 00:00:00 2001 From: james Date: Sun, 9 Dec 2007 22:18:29 +0000 Subject: [PATCH] Revert the isEmailAddress change so emails will actually send out again --- common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.inc.php b/common.inc.php index a159125..14de402 100644 --- a/common.inc.php +++ b/common.inc.php @@ -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;