The following query in getTrophyCase(7044, ); failed:
SELECT scope, award, votes, total_votes, (votes / total_votes) * 100 as pct FROM madcat_league_awards WHERE `year` = AND winner = 7044 ORDER BY scope DESC, award ASC
MySQL said: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND winner = 7044 ORDER BY scope DESC, award ASC' at line 1