Rewrite from stelzi implemented, variable and function name renamed to match with...
[mailer.git] / inc / libs / sponsor_functions.php
index 3db8ad7841761e759746b1b5478c141a616fcfc3..bc7a15d08f85b598a5bc87c367608cfe6b57321c 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 {