From a9f63a8eb0bbe4c2082e17f00fd2f970c29c80e1 Mon Sep 17 00:00:00 2001
From: "Committo,Ergo:sum" <esj@rezo.net>
Date: Tue, 21 Sep 2004 16:08:42 +0000
Subject: [PATCH] centralisation des erreurs dans le debuger (suite)

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

diff --git a/inc-calcul.php3 b/inc-calcul.php3
index 798b7c2d2a..15256e0989 100644
--- a/inc-calcul.php3
+++ b/inc-calcul.php3
@@ -139,8 +139,8 @@ function cherche_page ($cache, $contexte, $fond, $id_rubrique, $lang='')  {
 	// (compilation automatique au besoin) et calculer
 
 	if ($skel) {
-		if ($fonc = charger_squelette($skel));
-			$page = $fonc(array('cache' => $cache), array($contexte));
+		if ($fonc = charger_squelette($skel))
+		  $page = $fonc(array('cache' => $cache), array($contexte));
 
 			// Passer la main au debuggueur)
 		if ($GLOBALS['var_debug'] AND 
-- 
GitLab