A Database Error Occurred
Error Number: 1064
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 gallery.title LIKE "Сх%" ORDER BY `tm` DESC' at line 4
SELECT `gallery`.*, `gallery_types`.`system_name` as type_system_name FROM (`gallery`) JOIN `gallery_types` ON `gallery_types`.`id` = `gallery`.`type_id` WHERE `parent_id` IN () AND gallery.title LIKE "Сх%" ORDER BY `tm` DESC