]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/bonus_mails.php
More SQL rewrites, TODO: Put all table and column names in backticks (`)
[mailer.git] / inc / mails / bonus_mails.php
index ee2e1b7b578d5b393eb7cf62db5361d69ca83ee7..6b45f0dda6228df2a68debf144a52d9c19ed5581 100644 (file)
@@ -48,7 +48,7 @@ $mark = mktime(0, 0, 0, $_CONFIG['last_month'], date("d", time()), date('Y', tim
 $SQL = ""; $MODE = "";
 
 // Shall I sent activation or deactivation mail?
-$SQL = "SELECT userid, email FROM "._MYSQL_PREFIX."_user_data WHERE (bonus_ral_notify ";
+$SQL = "SELECT userid, email FROM `"._MYSQL_PREFIX."_user_data` WHERE (bonus_ral_notify ";
 switch ($_CONFIG['bonus_active'])
 {
 case 'Y': // Active rallye is activated