From 8b66420ddf035db5ef858ede122f964e5e87639a Mon Sep 17 00:00:00 2001
From: Matthieu Marcillaud <marcimat@rezo.net>
Date: Wed, 6 Jul 2016 22:28:05 +0000
Subject: [PATCH] =?UTF-8?q?Report=20de=20r23101=20:=20Compl=C3=A9ment=20?=
 =?UTF-8?q?=C3=A0=20r6036,=20insuffisant=20:=20une=20autre=20inversion=20d?=
 =?UTF-8?q?e=20param=C3=A8tres=20s'=C3=A9tait=20gliss=C3=A9e=20en=20r4605?=
 =?UTF-8?q?=20qui=20ajoutait=20la=20compilation=20des=20crit=C3=A8res=20`{?=
 =?UTF-8?q?a,b}`=20ou=20`{n-a,b}`=20ou=20`{a,=20n-b}`=20avec=20a=20ou=20b?=
 =?UTF-8?q?=20dynamiques.=20Le=20cas=20`{n-#GET{nb},=205}`=20devrait=20mie?=
 =?UTF-8?q?ux=20se=20passer.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/public/criteres.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/public/criteres.php b/ecrire/public/criteres.php
index 2c01d3c74b..e007b1eccf 100644
--- a/ecrire/public/criteres.php
+++ b/ecrire/public/criteres.php
@@ -1111,7 +1111,7 @@ function calculer_critere_parties_aux($idb, &$boucles, $param) {
 		} elseif (!empty($m[4])) {
 			return array($a1, $m[4]);
 		} else {
-			return array($a1, calculer_liste(array($param[1]), array(), $boucles[$idb]->id_parent, $boucles));
+			return array($a1, calculer_liste(array($param[1]), array(), $boucles, $boucles[$idb]->id_parent));
 		}
 	}
 }
-- 
GitLab