A Database Error Occurred

Error Number: 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 date_added DESC LIMIT 0, 35' at line 6

SELECT SQL_CALC_FOUND_ROWS * FROM `wscript_wallpapers` WHERE `active` = 1 AND parent_id = 0 AND ( cat_id = ) ORDER BY date_added DESC LIMIT 0, 35