]> git.mxchange.org Git - mailer.git/blobdiff - inc/purge/purge-general.php
A lot has been rewritten, ext-teams added, ext-forced continued:
[mailer.git] / inc / purge / purge-general.php
index b37bce06136f0ab45657f527be6ffe0e266467ec..e56c4e58e6b4660de38c87a82edde6e02f84d7a2 100644 (file)
@@ -106,7 +106,7 @@ ORDER BY
        // Is the 'bonus' extension installed and activated?
        if (isExtensionActive('bonus', true)) {
                // Check for bonus campaigns
-               $result = SQL_QUERY("SELECT `id`, `points` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `data_type`='SEND' AND `timestamp` <= {?auto_purge?} ORDER BY `id` ASC", __FILE__, __LINE__);
+               $result = SQL_QUERY("SELECT `id`,`points` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `data_type`='SEND' AND `timestamp` <= {?auto_purge?} ORDER BY `id` ASC", __FILE__, __LINE__);
                if (!SQL_HASZERONUMS($result)) {
                        // Start deleting procedure
                        $points = '0';