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 (4352,4608,4353,4609,4354,4610,4611,4356,4612,4357,4613,4358,4614,4359' 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 (4352,4608,4353,4609,4354,4610,4611,4356,4612,4357,4613,4358,4614,4359,4615,4871,4360,4616,4872,4361,4617,4362,4618,4619,4364,4620,4365,4621,4366,4622,4367,4623,4368,4369,4625,4370,4626,4371,4627,4372,4628,4373,4629,4374,4375,4631,3608,4632,3609,4377,4633,4378,4379,3612,4380,4381,4382,4383,4384,4385,4386,4387,4643,4388,4644,4389,4645,4390,4646,4391,4647,3626,4394,4395,4396,4397,4398,4399,4400,4404,3643,3644,3645,3648,3649,3652,3653,3654,3672,3673,3674,3675,4447,4448,4449,4450,4451,4452,4453,4454,4455,4456,4457,4458,4459,4460,4461,4462,4463,4464,4465,4466,4467,4468,4469,4470,4471,4472,4473,4474,4475,4476,4477,4478,4479,4480,4481,4482,4483,4484,4485,4486,4487,4488,4489,4490,4491,4492,4493,4494,4495,4496,4497,4498,3987,4499,3988,4500,3989,4501,3990,4502,3991,4503,3992,4504,3993,4505,3994,4506,3995,4507,4508,4509,4510,4511,4512,4513,4514,4515,4516,4517,4518,4519,4520,4521,4522,4523,2220,4524,2221,4525,2222,4526,4527,2228,2229,4314,4315,4318,4321,4577,4322,4578,4323,4579,4324,4580,4325,4581,4326,4582,4327,4583,4328,4584,4329,4585,4330,4586,4331,4587,4332,4588,4333,4589,2030,4590,4591,4592,4337,4593,4338,4594,4339,4595,4340,4596,4341,4597,4342,4598,4343,4599,4344,4600,4345,4601,3578,4346,4602,4347,4603,4348,4604,4349,4605,4606,4351,4607)
                    
    [context] => /home/h907184914/himsnab-spb.ru/docs/core/components/comp_shop/module.php line 290
)