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 (4226,4227,4228,4229,4230,4262,3495,3496,3497,3498,3499,3500,3501,3502' 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 (4226,4227,4228,4229,4230,4262,3495,3496,3497,3498,3499,3500,3501,3502,3503,3504,3505,3506,3507,3508,3509,3510,3511,3512,3513,3514,3515,3516,3517,3518,3519,3520,3521,3522,3523,3524,3525,3526,3527,3528,3529,3530,3531,3532,3533,3534,3535,3536,3537,3538,3539,3540,3541,3542,3543,3544,3545,3546,3547,3548,3549)
                    
    [context] => /home/h907184914/himsnab-spb.ru/docs/core/components/comp_shop/module.php line 290
)