]> git.mxchange.org Git - mailer.git/blobdiff - inc/profile-updte.php
A lot rewrites from double-quote to single-quote, some fixes for extension handling...
[mailer.git] / inc / profile-updte.php
index 091cc6ffb322f8cb3145bf57c15cea727daf2cea..4371a5e57f48517ca3ffbd552e968e599052c2a3 100644 (file)
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
        require($INC);
 }
 
-if ((getConfig('send_prof_update') == "Y") && (getConfig('profile_update') > 0) && (getConfig('resend_profile_update'))) {
+if ((getConfig('send_prof_update') == 'Y') && (getConfig('profile_update') > 0) && (getConfig('resend_profile_update'))) {
        // Load personal data              0      1        2          3
        $result = SQL_QUERY_ESC("SELECT userid, email, last_update, joined
 FROM
@@ -70,7 +70,7 @@ ORDER BY userid", array(getConfig('profile_update'), getConfig('resend_profile_u
                        }
 
                        // Load email template and send mail away
-                       $msg = LOAD_EMAIL_TEMPLATE("profile-updte", "", bigintval($content['userid']));
+                       $msg = LOAD_EMAIL_TEMPLATE("profile-updte", '', bigintval($content['userid']));
                        SEND_EMAIL($content['email'], getMessage('PROFILE_OUTDATED'), $msg);
 
                        // Update profile data