SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.4): Invalid SQL: SELECT * FROM bb1_jgs_galerie_bilder WHERE kategorie IN (0,1,2,3,4,5,6,7,8,9,10,11,12) AND kategorie = '4' AND gesperrt = '0' ORDER BY bild_id ASC LIMIT -4, 4
mysql error: 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 '-4, 4' at line 1
mysql error number: 1064
mysql version: 5.5.31-1~dotdeb.0-log
php version: 5.3.29
Date: 21.09.2014 @ 14:05
Script: /wbb2/jgs_galerie_userbilder.php?kategorie=4&bildid=7
Referer: