From 780bb1c6a565cef0182262e6179c436d49cf1cf2 Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Tue, 4 Aug 2009 05:18:31 +0000 Subject: [PATCH] report de [14336] correction de gestion de la langue --- ecrire/public/compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/public/compiler.php b/ecrire/public/compiler.php index 68e52c4aa3..ed4ef60806 100644 --- a/ecrire/public/compiler.php +++ b/ecrire/public/compiler.php @@ -299,7 +299,7 @@ function calculer_boucle_nonrec($id_boucle, &$boucles) { $corps .= (($boucle->lang_select != 'oui') ? - "\t\tif (isset(\$GLOBALS['forcer_lang']) AND !\$GLOBALS['forcer_lang'])\n\t " : '') + "\t\tif (!(isset(\$GLOBALS['forcer_lang']) AND \$GLOBALS['forcer_lang']))\n\t " : '') . "\t\tif (\$x = " . index_pile($id_boucle, 'lang', $boucles) . ') $GLOBALS["spip_lang"] = $x;'; -- GitLab