SQL Error: Unknown column 'l.legion_id' in 'order clause' at /var/www/betfront.ru/public_html/plugins/legions/classes/modules/battle/mapper/Battle.mapper.class.php line 1353
Array ( [code] => 1054 [message] => Unknown column 'l.legion_id' in 'order clause' [query] => SELECT SQL_CALC_FOUND_ROWS b.user_id FROM prefix_legion_user_bet_all b, prefix_user u Where b.user_id=u.user_id and u.user_legion_id > 0 ORDER BY l.legion_id desc ,b.user_result desc LIMIT 0, 20 [context] => /var/www/betfront.ru/public_html/plugins/legions/classes/modules/battle/mapper/Battle.mapper.class.php line 1353 )