Refback and referal points hopefully fixed:
[mailer.git] / inc / purge / purge-general.php
index 30c18977e406b2e62e40ac4afdffd2be1ade0adf..b37bce06136f0ab45657f527be6ffe0e266467ec 100644 (file)
@@ -66,7 +66,8 @@ ORDER BY
        s.userid ASC', __FILE__, __LINE__);
        if (!SQL_HASZERONUMS($result)) {
                // Start deleting procedure
-               $userid = '0'; $points = '0';
+               $userid = NULL;
+               $points = '0';
                while ($content = SQL_FETCHARRAY($result)) {
                        // Check if confirmation links are purged or not
                        $result_links = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `stats_id`=%s LIMIT 1",