Re: Problème WHERE
tofulm <[email protected]>
| Newsgroups | gmane.comp.web.spip.devel |
|---|---|
| Message-ID | <[email protected]> |
J'ai trouvé
C'est depuis ce commit
https://git.spip.net/spip/spip/commit/81b3f6dd22d699986ca2d5a068959ec0011b4253
et l'ajout de :
$boucle->where["JOIN-L$n"] = array("'='","'$obj'","sql_quote('$type')");
si on remplace cette ligne par :
$boucle->where["JOIN-L$n"] = $echap ?
array("'='","'$obj'","sql_quote('$type')") :
array("=","$obj","sql_quote('$type')");
Cela fonctionne sauf que maintenant :
ecrire/base/connect_sql.php:L170:spip_sql_erreur()::Pub:ERREUR: Erreur
1305 de mysql: FUNCTION spip33_sngpckda.sql_quote does not exist
--
tofulm