]> git.mxchange.org Git - mailer.git/blobdiff - inc/autopurge/purge-inact.php
Huge rewrite:
[mailer.git] / inc / autopurge / purge-inact.php
index 17a64174edf02df29fc99761a64aa468285159bd..4145d9a3e65f46b62873e8831376b767f2e9515f 100644 (file)
@@ -97,8 +97,8 @@ ORDER BY d.userid",
                        $content['last_online'] = generateDateTime($content['last_online'], '0');
 
                        // Load mail template
-                       $msg = LOAD_EMAIL_TEMPLATE("member_autopurge_inactive", $content['last_online'], bigintval($content['userid']));
-                       sendEmail($content['email'], getMessage('AUTOPURGE_MEMBER_INACTIVE_SUBJECT'), $msg);
+                       $message = LOAD_EMAIL_TEMPLATE("member_autopurge_inactive", $content['last_online'], bigintval($content['userid']));
+                       sendEmail($content['email'], getMessage('AUTOPURGE_MEMBER_INACTIVE_SUBJECT'), $message);
 
                        // Update this account
                        ADD_SQL(SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_user_data` SET `ap_notified`=UNIX_TIMESTAMP() WHERE `userid`=%s LIMIT 1",