}
// 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",