]> git.mxchange.org Git - mailer.git/blobdiff - inc/pool/pool-bonus.php
Naming convention applied: is outdated, use (not shortended word), fixed missing...
[mailer.git] / inc / pool / pool-bonus.php
index 385dcce8e1b528660821d3d4d5eebe8e19ceb3c1..139f1f5e7cfb21658dc6fcc888ea60cb4ea5e482 100644 (file)
@@ -63,7 +63,7 @@ if ($GLOBALS['pool_cnt'] < getConfig('max_send')) {
 
        if (SQL_NUMROWS($result_bonus) > 0) {
                // Send these mails away...
-               $cnt2 = '';
+               $count2 = '';
                while ($DATA = SQL_FETCHARRAY($result_bonus)) {
                        // Message is active in queue
                        SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_bonus` SET `data_type`='QUEUE' WHERE `id`=%s LIMIT 1",
@@ -132,7 +132,7 @@ if ($GLOBALS['pool_cnt'] < getConfig('max_send')) {
                        if (isExtensionInstalledAndNewer('mediadata', '0.0.4')) {
                                // Update entry (or add missing
                                $P = $GLOBALS['pool_cnt'];
-                               if (!empty($cnt2) && empty($GLOBALS['pool_cnt'])) $P = $cnt2;
+                               if (!empty($count2) && empty($GLOBALS['pool_cnt'])) $P = $count2;
                                //* DEBUG: */ debugOutput('+MEDIA/L:'.__LINE__.'/'.$P.'+');
                                updateMediadataEntry(array('total_send', 'bonus_send'), 'add', $P);
                        } // END - if