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 '' at line 5

SELECT M.ID, IFNULL(i18N_ProjectButton.Value,M.`ProjectButton`) AS `ProjectButton` FROM MissionsBoost AS M LEFT JOIN idm_i18n AS i18N_ProjectButton ON i18N_ProjectButton.ID_idm_languages=58 AND i18N_ProjectButton.TableName='MissionsBoost' AND i18N_ProjectButton.FieldName='ProjectButton' AND i18N_ProjectButton.ID_TableName=M.ID WHERE M.ID_Offres=

Filename: models/ModelOffres.php

Line Number: 57