Erreur : SQLSTATE: Syntax error or access violation: 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 i.module = "hotels"
AND i.illustration = b.id
AND i.projet' at line 6
N∞ : 42000
Query : SELECT i.*, b.id as b_id, b.titre as b_titre, b.description as b_description, b.illustration as b_illustration, b.lang_id as b_lang_id, b.parent_id as b_parent_id, b.projet_id as b_projet_id, b.type as b_type FROM `beaulieu_illustration` as i LEFT JOIN `beaulieu_bibliotheque` as b ON b.id = i.illustration WHERE i.element_id = AND i.module = "hotels" AND i.illustration = b.id AND i.projet_id = 1 AND b.projet_id = 1 ORDER BY i.id ASC LIMIT 1