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 p.id =' at line 1
SELECT m.*, p.name, p.type as placetype, CASE WHEN t.name IS NULL THEN p.name ELSE t.name END AS label FROM places p JOIN maps m ON m.type = 'general' LEFT OUTER JOIN translations t ON t.place = p.id AND t.language = 'fr' WHERE m.place = AND p.id =