From 1a41a656cc4ffa0fec4efaa51a24fd157b8e5aa2 Mon Sep 17 00:00:00 2001 From: "Committo,Ergo:sum" <esj@rezo.net> Date: Thu, 9 Sep 2004 18:34:10 +0000 Subject: [PATCH] le critere IN ne gene plus les autres (Pierre A.) --- inc-criteres.php3 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inc-criteres.php3 b/inc-criteres.php3 index 0eaf29a782..33c76af3b1 100644 --- a/inc-criteres.php3 +++ b/inc-criteres.php3 @@ -400,7 +400,6 @@ function calculer_criteres ($idb, &$boucles) { else { // traitement special des valeurs textuelles ereg("^ *\(?(.*[^)])\)? *$",$match[6], $val2); - spip_log($match[6] . ' ' . $val2[1]); $val2 = split(" *, *", $val2[1]); foreach ($val2 as $v) { $v = calculer_param_dynamique($v, $boucles, $idb); @@ -690,7 +689,7 @@ function calculer_param_dynamique($val, &$boucles, $idb) { else return $val; */ } else { if (ereg('^\$(.*)$',$val,$regs)) - return '" . addslashes($Pile[0][\''. $regs[1] ."']') . "; + return '" . addslashes($Pile[0][\''. $regs[1] ."']) . \""; else return addslashes($val); } -- GitLab