X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-del_email.php;h=de084bb7c3c8d9c05654dbb17f05206506b9cc77;hb=cc59ea1cce3e0fafc2cc6c9e36142698cf2b58ef;hp=2727c7173e7b01fe04dbd987c5e0ecdad63386cf;hpb=4867976d90c806a03bb0848886f1e175c68cf3a4;p=mailer.git diff --git a/inc/modules/admin/what-del_email.php b/inc/modules/admin/what-del_email.php index 2727c7173e..de084bb7c3 100644 --- a/inc/modules/admin/what-del_email.php +++ b/inc/modules/admin/what-del_email.php @@ -109,6 +109,7 @@ LIMIT 1", } // END - if // Pay back points + initReferalSystem(); addPointsThroughReferalSystem('mail_deleted', $content['sender'], $totalPoints); // Output message @@ -182,8 +183,8 @@ LIMIT 1", $count += SQL_AFFECTEDROWS(); // Prepare data for the template - $content['timestamp'] = generateDateTime($content['timestamp'], 0); - $content['cnt'] = $count; + $content['timestamp'] = generateDateTime($content['timestamp'], '0'); + $content['count'] = $count; // Load template loadTemplate('admin_delete_email_bonus', false, $content); @@ -216,8 +217,8 @@ LIMIT 1", $count += SQL_AFFECTEDROWS(); // Prepare data for the template - $content['timestamp'] = generateDateTime($content['timestamp'], 0); - $content['cnt'] = $count; + $content['timestamp'] = generateDateTime($content['timestamp'], '0'); + $content['count'] = $count; // Load template loadTemplate('admin_delete_email_notify', false, $content);