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 '-19,20' at line 1 IN FILE: /core/db.php ON LINE:74
#0 /core/db.php(74): PDOStatement->execute()
#1 /app/models/pageModel.php(267): db->pquery('SELECT `hm_page...', Array)
#2 /app/models/articles.php(103): pageModel->getNewestArticlesWithParentAndLimit('1411', '-19,20')
#3 /app/models/articles.php(58): articles->getArticlesWithParent()
#4 /app/models/articles.php(53): articles->getNews()
#5 /app/models/articles.php(34): articles->prepareNews(false)
#6 /core/helpers/FrontPageHelper.php(153): articles->news('1411', 'rodzinka', '0', 'page', 20, true, true)
#7 /app/page.php(9): FrontPageHelper->_getArticles('1411')
#8 /app/page.php(28): page->main()
#9 /core/dispatcher.php(36): page->__call('', Array)
#10 /core/dispatcher.php(36): page->()
#11 /core/dispatcher.php(20): dispatcher::loadControllers()
#12 /index.php(35): dispatcher::dispatch()
#13 {main}