X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fautopurge%2Fpurge-general.php;h=8a7735c2f98b6a716052b6694d6b892c4713d027;hp=c932ff47df0686a215b28a140b73e8e01c362744;hb=ff9e8f739bd4b6e184b2a6bf427334196e501da8;hpb=b353f8583ae3c0a9224d97a2ed01fd8cd7965081 diff --git a/inc/autopurge/purge-general.php b/inc/autopurge/purge-general.php index c932ff47df..8a7735c2f9 100644 --- a/inc/autopurge/purge-general.php +++ b/inc/autopurge/purge-general.php @@ -54,7 +54,7 @@ if (getAutoPurge() > 0) { $admin_points = '0'; // Then check for outdated mail order. We don't delete them just the confirmation links will be deleted. - $result = SQL_QUERY("SELECT + $result = SQL_QUERY('SELECT s.id, s.userid, s.pool_id, t.price FROM `{?_MYSQL_PREFIX?}_user_stats` AS s @@ -65,7 +65,7 @@ ON WHERE s.timestamp_ordered <= (UNIX_TIMESTAMP() - {?auto_purge?}) ORDER BY - s.userid ASC", __FILE__, __LINE__); + s.userid ASC', __FILE__, __LINE__); if (!SQL_HASZERONUMS($result)) { // Start deleting procedure $userid = '0'; $points = '0';