MySQL error in line 40 in /home/aliuemat/

MySQL returned: 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 ')) WHERE abb1_posts.thread_id IN (12317)' at line 16

MySQL errorno. 1064

Should this error have occured unexpectedly, please contact the forum administrator.

ABB Error Code: 2 edit.php