SQL 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 '-1, 1' at line 12 at /home/artem/data/www/blogosphera.ru/classes/modules/topic/mapper/Topic.mapper.class.php line 178
Array ( [code] => 1064 [message] => 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, 1' at line 12 [query] => SELECT SQL_CALC_FOUND_ROWS t.topic_id FROM prefix_topic as t, prefix_blog as b WHERE 1=1 AND t.topic_publish = 1 AND ( t.topic_rating >= -3 ) AND b.blog_type in ('open') AND t.blog_id=b.blog_id ORDER by t.topic_id desc LIMIT -1, 1 [context] => /home/artem/data/www/blogosphera.ru/classes/modules/topic/mapper/Topic.mapper.class.php line 178 )
Помогите добрым словом :)
У меня такое появляется. Что делать?