From: Roland Häder Date: Tue, 9 Dec 2008 18:06:07 +0000 (+0000) Subject: Fix for undefined index 'last' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fac1768c0b48ca0e9092b198e18c29263d1009d1;p=mailer.git Fix for undefined index 'last' --- diff --git a/inc/databases.php b/inc/databases.php index 17f9b711ee..0a11142c33 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -114,7 +114,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // Current SVN revision -define('CURR_SVN_REVISION', "611"); +define('CURR_SVN_REVISION', "612"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/modules/admin/what-list_bonus.php b/inc/modules/admin/what-list_bonus.php index d95b4de3f2..7030cade33 100644 --- a/inc/modules/admin/what-list_bonus.php +++ b/inc/modules/admin/what-list_bonus.php @@ -74,7 +74,7 @@ if ($_CONFIG['bonus_active'] == "Y") { } // Check if at least one is in the active rallye - $result = SQL_QUERY_ESC("SELECT userid, email, gender, surname, family, ".$USE." AS points, last_online + $result = SQL_QUERY_ESC("SELECT userid, email, gender, surname, family, ".$USE." AS points, last_online AS last FROM "._MYSQL_PREFIX."_user_data WHERE status='CONFIRMED' AND ".$USE." > 0".$LAST." ORDER BY points DESC, last_online DESC, userid",