]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_beg.php
More improved SQL queries
[mailer.git] / inc / modules / admin / what-list_beg.php
index 8619711604e6cafba1ebd79332a98b1ccc4ff1a8..7c000fc9340677c4c33dde6cd7c183ee6079f74e 100644 (file)
@@ -60,7 +60,7 @@ if (getConfig('beg_rallye') == "Y") {
        // Check if at least one is in the active rallye
        $result = SQL_QUERY_ESC("SELECT userid, email, gender, surname, family, beg_points, last_online
 FROM `{!_MYSQL_PREFIX!}_user_data`
-WHERE status='CONFIRMED' AND beg_points > 0".$LAST."
+WHERE `status`='CONFIRMED' AND beg_points > 0".$LAST."
 ORDER BY beg_points DESC, last_online DESC, userid",
         array($ONLINE), __FILE__, __LINE__);