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 (1827,1831,1834,1843,1844,1851,1852,1855,1871,1872,1873,1876,1883,1884' 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 (1827,1831,1834,1843,1844,1851,1852,1855,1871,1872,1873,1876,1883,1884,1885,1886,1887,1888,1889,1890,1918,1919,1924,1934,1935,1939,1940,1944,1945,1950,1951,1957,1959,1960,1972,1975,1982)
[context] => /home/h907184914/himsnab-spb.ru/docs/core/components/comp_shop/module.php line 290
)