X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-del_email.php;h=3ce87e6a67716f1b235bd71c243f04f8704cc11f;hb=5b794a32b30ec5322765c89a22c4c27aece94a42;hp=b09c9bbcfee3fdb57dc82191b7a035d097fd6477;hpb=c2e17d983fcbc0c3bd1dd37908d87c678f0367df;p=mailer.git diff --git a/inc/modules/admin/what-del_email.php b/inc/modules/admin/what-del_email.php index b09c9bbcfe..3ce87e6a67 100644 --- a/inc/modules/admin/what-del_email.php +++ b/inc/modules/admin/what-del_email.php @@ -43,7 +43,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { addMenuDescription('admin', __FILE__); // Init counter for deleted mails -$cnt = 0; +$cnt = '0'; if (isGetRequestElementSet('mid')) { // Load email data @@ -107,7 +107,7 @@ LIMIT 1", // Shall we payback to user or jackpot? if (getConfig('repay_deleted_mails') == 'JACKPOT') { // Set jackpot - $sender = 0; + $sender = '0'; } // END - if // Pay back points @@ -179,7 +179,7 @@ LIMIT 1", reduceRecipientReceivedMails('bonus_id', getRequestElement('bid'), $sent); // Init counter for deleted mails - $cnt = 0; + $cnt = '0'; // Delete bonus mail entirely from database SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1", @@ -216,7 +216,7 @@ LIMIT 1", list ($id, $subject, $url, $timestamp) = SQL_FETCHROW($result); // Init counter for deleted mails - $cnt = 0; + $cnt = '0'; // Delete bonus mail entirely from database SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",