]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-top10.php
Extension 'ext-coupon' moved to branch, SQLs improved:
[mailer.git] / inc / modules / guest / what-top10.php
index 0e1d4904ad2c1771102ca3af4304d9bb1e3165eb..a5ad5e61faac792850edddcf981b50a5fe52f9e2 100644 (file)
@@ -110,7 +110,7 @@ SQL_FREERESULT($result);
 //// TOP earners
 $result = SQL_QUERY("SELECT
        d.userid,
-       (SUM(p.points) - d.used_points) AS points,
+       (SUM(p.points) - d.used_points) AS `points`,
        d.last_online
 FROM
        `{?_MYSQL_PREFIX?}_user_data` AS d