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 ')' at line 1
SELECT COUNT(*) FROM consumer WHERE partid IN ()
/home/hostelna/hostelnewarbat.ru/docs/_classes/consumer.p(100)
exception.type=sql.execute
sql /home/hostelna/hostelnewarbat.ru/docs/_classes/consumer.p(100)
code /home/hostelna/hostelnewarbat.ru/docs/auto.p(82)
connect /home/hostelna/hostelnewarbat.ru/docs/auto.p(82)
dbconnect /home/hostelna/hostelnewarbat.ru/docs/_classes/consumer.p(97)
EmptyList /home/hostelna/hostelnewarbat.ru/docs/_classes/consumer.p(90)
if /home/hostelna/hostelnewarbat.ru/docs/_classes/consumer.p(90)
code /home/hostelna/hostelnewarbat.ru/docs/auto.p(82)
connect /home/hostelna/hostelnewarbat.ru/docs/auto.p(82)
dbconnect /home/hostelna/hostelnewarbat.ru/docs/_classes/consumer.p(53)
List /home/hostelna/hostelnewarbat.ru/docs/parts/index.html(25)
if /home/hostelna/hostelnewarbat.ru/docs/parts/index.html(24)
Content /home/hostelna/hostelnewarbat.ru/docs/auto.p(186)
body /home/hostelna/hostelnewarbat.ru/docs/auto.p(88)