Rewrite from stelzi implemented, variable and function name renamed to match with...
[mailer.git] / inc / libs / sponsor_functions.php
index 3db8ad7..bc7a15d 100644 (file)
@@ -69,7 +69,7 @@ function SPONSOR_HANDLE_SPONSOR (&$POST, $NO_UPDATE=false, $messageArray=array()
                        {
                        case 'email':
                                $ALREADY = false;
-                               if (!VALIDATE_EMAIL($v)) {
+                               if (!isEmailValid($v)) {
                                        // Email address is not valid
                                        $SAVE = false;
                                } else {