MySQL Error
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 (3595,3596,3597,3616,3617,2623,2624,2629,2630,2631,2632,2634,2635,2636' 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 (3595,3596,3597,3616,3617,2623,2624,2629,2630,2631,2632,2634,2635,2636,2637,2638,2640,2641,2642,2643,2644,2659,2671,2672,2673,4528,4529,4530,4531,4532,4533,4534,4535,4536,4537,4538,4539,4540,4541,4542,4543,4544,4545,4546,4547,4548,4549,4550,4551,4552,4553,4554,4555,4556,4557,4558,4559,4560,4561,4562,4563,4564,4565,4566,4567,4568,4569,4570,4571,4572,4573,4574,4575,4576)
                    
    [context] => /home/h907184914/himsnab-spb.ru/docs/core/components/comp_shop/module.php line 290
)