Fix for monthly bonus reset script
authorRoland Häder <roland@mxchange.org>
Sun, 1 Aug 2010 06:45:40 +0000 (06:45 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 1 Aug 2010 06:45:40 +0000 (06:45 +0000)
inc/monthly/monthly_bonus.php

index 41e50053c063eaff630e568238f89501840d777b..d34f7375a9cf090a41452e682cf3145e8acca811 100644 (file)
@@ -80,7 +80,7 @@ if (($curr != getConfig('last_month')) && (getConfig('bonus_ranks') > 0) && (!is
 
        // 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 . '