MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1064 - 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 'ORDER BY c.ID_COMMENT DESC' at line 5
Query:
SELECT c.ID_PICTURE, c.ID_COMMENT, c.date, c.comment, c.ID_MEMBER, m.postnum, m.username, m.avatar FROM mybb_gallery_comment as c LEFT JOIN mybb_users AS m ON (c.ID_MEMBER = m.uid) WHERE c.ID_PICTURE = ORDER BY c.ID_COMMENT DESC