ERROR IN QUERY:
SELECT `id`, `date_pub`,`created_dt`, `title`, `url_alias`, `intro_text`, `img`, `author`, `out_url` FROM `m_news_articles` WHERE `lang` = '24' AND `status` = '1' AND `access` = 'guest' AND `date_end` >= CURDATE() AND `category_id` = '7' ORDER BY `date_pub` DESC LIMIT -6,6

ERROR INFO:
(1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-6,6' at line 6

ERROR LOCATION:
into file /home/mprhr/bozoskoko.com/ebitcms/modules/news/web.php on line 209