SELECT `room_master`.*, configurations_rooms.`configuration_id`, configurations_rooms.`id` as urid FROM `room_master` left join configurations_rooms on `room_master`.`id` = configurations_rooms.`room_id` where configurations_rooms.`id` is NOT NULL and configurations_rooms.`configuration_id`= and `room_master`.`editor`=0 and `room_master`.`status`=9 and (configurations_rooms.`status`=9 or configurations_rooms.`status`=8) order by configurations_rooms.`sequence` ASC--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 `room_master`.`editor`=0 and `room_master`.`status`=9 and (configurations_ro' at line 1
no rooms for this user