From fc2cfaa14923ef9960472529323de74714d52efd Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Sat, 29 Nov 2014 13:01:59 +0000 Subject: [PATCH] Functions: Miskey in valid_email function check. --- resources/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/functions.php b/resources/functions.php index 8c5997bc67..fd36e96438 100644 --- a/resources/functions.php +++ b/resources/functions.php @@ -973,7 +973,7 @@ function number_pad($number,$n) { } // validate email address syntax - if(!function_exists('validate_email')) { + if(!function_exists('valid_email')) { function valid_email($email) { $regex = '/^[A-z0-9][\w.-]*@[A-z0-9][\w\-\.]+\.[A-z0-9]{2,6}$/'; if ($email != "" && preg_match($regex, $email) == 1) {