]> git.mxchange.org Git - mailer.git/blobdiff - inc/profile-updte.php
Wernis extension added
[mailer.git] / inc / profile-updte.php
index 216e46fe2e641bd465edb5d9a404a2dde6e72b87..79aa02feaa89d911f4dec50eabf9455e05cd27b2 100644 (file)
@@ -39,11 +39,11 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
        require($INC);
 }
 
-if (($CONFIG['send_prof_update'] == "Y") && ($CONFIG['profile_update'] > 0) && ($CONFIG['resend_profile_update']))
+if (($_CONFIG['send_prof_update'] == 'Y') && ($_CONFIG['profile_update'] > 0) && ($_CONFIG['resend_profile_update']))
 {
        // Ok, we shall send update notifications...
-       $TIMEOUT  = bigintval(time() - $CONFIG['profile_update']);
-       $TIMEOUT2 = bigintval(time() - $CONFIG['resend_profile_update']);
+       $TIMEOUT  = bigintval(time() - $_CONFIG['profile_update']);
+       $TIMEOUT2 = bigintval(time() - $_CONFIG['resend_profile_update']);
 
        // Load personal data              0      1     2      3        4          5         6
        $result = SQL_QUERY_ESC("SELECT userid, email, sex, surname, family, last_update, joined