]> git.mxchange.org Git - mailer.git/blobdiff - inc/purge/purge-general.php
Mailer project continued:
[mailer.git] / inc / purge / purge-general.php
index 77ef4a9aff52a05d74f1f6db4bc22f78ce54286a..f3ab83bd2d7124f637d2be0121e2d5c8ee95397c 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';