From: Roland Häder Date: Sun, 1 Aug 2010 06:45:40 +0000 (+0000) Subject: Fix for monthly bonus reset script X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eab9ec14d0d794508d7bf901e81ed9ae99dbd6d2;p=mailer.git Fix for monthly bonus reset script --- diff --git a/inc/monthly/monthly_bonus.php b/inc/monthly/monthly_bonus.php index 41e50053c0..d34f7375a9 100644 --- a/inc/monthly/monthly_bonus.php +++ b/inc/monthly/monthly_bonus.php @@ -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 . '