From 936e985549d5933ad57820c2af0c6aced8cd0ecf Mon Sep 17 00:00:00 2001
From: "Committo,Ergo:sum" <esj@rezo.net>
Date: Mon, 6 Jun 2005 13:47:16 +0000
Subject: [PATCH] =?UTF-8?q?[]=C2=A0et=20()=20dans=20des=20criteres=20sans?=
 =?UTF-8?q?=20champ=20((A.=20Levy)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 inc-compilo.php3 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/inc-compilo.php3 b/inc-compilo.php3
index 10231e8417..4e8ee4fd25 100644
--- a/inc-compilo.php3
+++ b/inc-compilo.php3
@@ -370,6 +370,8 @@ function calculer_parties($partie, $mode_partie, $total_parties, $id_boucle) {
 function calculer_liste($tableau, $descr, &$boucles, $id_boucle='') {
 	if (!$tableau) return "''";
         $codes = array();
+	spip_log($id_boucle);
+	$type = $id_boucle ? $boucles[$id_boucle]->type_requete : '';
 	$descr['niv']++;
 	for ($i=0; $i<=$descr['niv']; $i++) $tab .= "\t";
 
@@ -451,7 +453,7 @@ function calculer_liste($tableau, $descr, &$boucles, $id_boucle='') {
 			$p->boucles = &$boucles;
 			$p->descr = $descr;
 			$p->statut = 'html';
-			$p->type_requete = $boucles[$id_boucle]->type_requete;
+			$p->type_requete = $type;
 
 			$code = calculer_champ($p);
 			$commentaire = '#' . $p->nom_champ . $p->etoile;
-- 
GitLab