Extension 'ext-coupon' moved to branch, SQLs improved:
[mailer.git] / inc / monthly / monthly_bonus.php
index 35d5b1e7d4c1ec1bd79cf45c575c26596c46b975..ca916cb6bc5cffa5d892d51261882d19732c1a93 100644 (file)
@@ -78,7 +78,7 @@ if ((getConfig('bonus_ranks') > 0) && (!isCssOutputMode())) {
 
        // Run SQL string to check for accounts
        $result_main = SQL_QUERY('SELECT
-       `userid`, `email`, `gender`, `surname`, `family`, (0' . $add . ') AS points
+       `userid`, `email`, `gender`, `surname`, `family`, (0' . $add . ') AS `points`
 FROM
        `{?_MYSQL_PREFIX?}_user_data`
 ' . $whereStatement1 . '