Caught Exception:
SQLSTATE[42000]: Syntax error or access violation: 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 '-1, 20' at line 1
#0 /home/www/geknipst/geknipst.at/g3svn/G3Framework/classes/Database.class.php(64): PDO->query('SELECT id FROM ...')
#1 /home/www/geknipst/geknipst.at/g3svn/G3Framework/classes/ForumThread.class.php(206): Database->query('SELECT id FROM ...')
#2 /home/www/geknipst/geknipst.at/g3svn/G3Framework/pages/forums/APageTopic.class.php(53): ForumThread->getPosts(20, '-1')
#3 /home/www/geknipst/geknipst.at/g3svn/G3Framework/pages/Page.class.php(85): APageTopic->prepare()
#4 /home/www/geknipst/geknipst.at/g3svn/G3Framework/htdocs/index.php(185): Page->deliver()
#5 {main}