Fix: SQL syntax error with pgsql

Conflicts:
	htdocs/contrat/class/contrat.class.php