X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_beg.php;h=7c000fc9340677c4c33dde6cd7c183ee6079f74e;hp=8619711604e6cafba1ebd79332a98b1ccc4ff1a8;hb=c47144dd555bbab4acdf9085e4623900dedb0e7c;hpb=3db876e775c0651ffdf15234f5d5c7a4eae4033c diff --git a/inc/modules/admin/what-list_beg.php b/inc/modules/admin/what-list_beg.php index 8619711604..7c000fc934 100644 --- a/inc/modules/admin/what-list_beg.php +++ b/inc/modules/admin/what-list_beg.php @@ -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__);