From 4e6470120a804ec7b6437dd5673c89228ae523dc Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Wed, 12 May 2004 06:46:01 +0000
Subject: [PATCH] =?UTF-8?q?petit=20bug=20inc-urls=20personnalis=C3=A9=20et?=
 =?UTF-8?q?=20#EXPOSER?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

diff --git a/inc-calcul.php3 b/inc-calcul.php3
index d230a8da8f..476dad3d70 100644
--- a/inc-calcul.php3
+++ b/inc-calcul.php3
@@ -462,17 +462,16 @@ function calculer_page_globale($fond) {
 	if ($GLOBALS['lang'])
 		$contexte['lang'] = $GLOBALS['lang'];
 
-	$contexte_inclus = $contexte; // Par souci d'homogeneite (utile pour #EXPOSER)
-
 	// Analyser les URLs personnalisees (inc-urls-...)
 	recuperer_parametres_url($fond, $fichier_requete);
-	$lang = lire_meta('langue_site');
+	$contexte_inclus = $contexte; // Par souci d'homogeneite (utile pour #EXPOSER)
 
 	//
 	// Affiner le choix du squelette :
 	// calcul de la rubrique associee a la requete
 	// + selection de la langue
 	//
+	$lang = lire_meta('langue_site');
 	if ($contexte['lang']) {
 		$lang = $contexte['lang'];	// l'URL peut fixer lang=xx, mais inc-urls peut aussi agir sur $contexte[lang]
 	}
-- 
GitLab