From 144e5249ad4322c9b803ec598f94f32f297512bd Mon Sep 17 00:00:00 2001
From: "Committo,Ergo:sum" <esj@rezo.net>
Date: Fri, 3 Feb 2006 17:37:44 +0000
Subject: [PATCH] =?UTF-8?q?Pour=20une=20fois=20que=20j'ai=20envie=20d'?=
 =?UTF-8?q?=C3=A9crire=20un=20commentaire...?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 inc-compilo.php3 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/inc-compilo.php3 b/inc-compilo.php3
index 7fa5fe8b58..bb1a133ceb 100644
--- a/inc-compilo.php3
+++ b/inc-compilo.php3
@@ -684,14 +684,16 @@ function calculer_squelette($squelette, $nom, $gram, $sourcefile) {
  * " . (!$boucles ?  "Pas de boucle" :
 	("Boucles :   " . join (', ', array_keys($boucles)))) ."
  */ " .
+	  // ATTENTION, le calcul du l'expression $corps affectera $Cache
+	  // ==> l'affecter a une variable auxiliaire avant de referencer $Cache
 	  $code . "
 
 //
 // Fonction principale du squelette $sourcefile
 //
 function $nom (\$Cache, \$Pile, \$doublons=array(), \$Numrows='', \$SP=0) {
-	\$corps = $corps;
-	return analyse_resultat_skel('$nom', \$Cache, \$corps);
+	\$page = $corps;
+	return analyse_resultat_skel('$nom', \$Cache, \$page);
 }
 
 ?".">";
-- 
GitLab