]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_bonus.php
more in naming convention applied, you should better kill inc/cache/*.cache files...
[mailer.git] / inc / modules / admin / what-list_bonus.php
index cfb0d79e685193de7da6a74a9860938c47bfd76a..4a0e5d28a05f77fd356660cfdca44e5c823ba659 100644 (file)
@@ -48,7 +48,7 @@ if ($_CONFIG['bonus_active'] == 'Y')
                // Okay, let's prepare...
                $curr = date("m", time()) - 1;
                if (strlen($curr) == 1) $curr = "0".$curr;
-               $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_config SET last_bonus_month='%s' WHERE config='0' LIMIT 1",
+               $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_config SET last_bonus_month='%s' WHERE config=0 LIMIT 1",
                 array($curr), __FILE__, __LINE__);
                LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_BONUS_WITHDRAW_PREPARED);
                OUTPUT_HTML("<br />");