Rewrite from stelzi implemented, variable and function name renamed to match with...
[mailer.git] / inc / modules / member / what-mydata.php
index a9ce346..0760383 100644 (file)
@@ -199,7 +199,7 @@ case 'save': // Save entered data
                $DATA[3] = generateDateTime($DATA[3] + getConfig('profile_lock'), '0');
                // You cannot change your account
                LOAD_TEMPLATE("member_mydata_locked");
-       } elseif (!VALIDATE_EMAIL(REQUEST_POST('addy'))) {
+       } elseif (!isEmailValid(REQUEST_POST('addy'))) {
                // Invalid email address!
                LOAD_TEMPLATE('admin_settings_saved', false, getMessage('INVALID_EMAIL_ADDRESS_ENTERED'));
        } else {