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 'AND id in (9,10,11,2320,2321,2322,2323,2324,2325,2326,2327,127,1775)' at line 1 [query] => SELECT * , IF(`sale_price` > 0, `sale_price`, `price`) as sort_price FROM core_shop_products WHERE `show`="1" AND id_brand = AND id in (9,10,11,2320,2321,2322,2323,2324,2325,2326,2327,127,1775) [context] => /home/h907184914/himsnab-spb.ru/docs/core/components/comp_shop/module.php line 290 )