X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=0.2.1%2Finc%2Fprofile-updte.php;h=42854a435e6962e989b28392612f1828f4a54886;hp=179e0a3acecad2a780ddac1c4b05196b1d4e42b6;hb=985d79f06163e5957c3f40b5a71ce85be9048f8e;hpb=4d62ab22b0616cabb713929f8b661b5470b6018c diff --git a/0.2.1/inc/profile-updte.php b/0.2.1/inc/profile-updte.php index 179e0a3ace..42854a435e 100644 --- a/0.2.1/inc/profile-updte.php +++ b/0.2.1/inc/profile-updte.php @@ -35,15 +35,15 @@ // Some security stuff... if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php"; + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); } -if (($CONFIG['send_update'] == "Y") && ($CONFIG['profile_update'] > 0) && ($CONFIG['prof_reupdate'])) +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['prof_reupdate']); + $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