From 6819c94eeb1724f9af1f59e188861da5dbeb1a0e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 1 Nov 2005 14:41:27 +0000 Subject: [PATCH] Fix: Corrections et simplifications de la gestion du mode de langue 'auto'. --- htdocs/install/check.php | 3 +-- htdocs/install/inc.php | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/htdocs/install/check.php b/htdocs/install/check.php index de622e153c6..b56161c7de5 100644 --- a/htdocs/install/check.php +++ b/htdocs/install/check.php @@ -18,7 +18,6 @@ * * $Id$ * $Source$ - * */ /** @@ -34,7 +33,7 @@ $allowupgrade = 0; include_once("./inc.php"); -$setuplang=isset($_POST["selectlang"])?$_POST["selectlang"]:(isset($_GET["selectlang"])?$_GET["selectlang"]:$langcode); +$setuplang=isset($_POST["selectlang"])?$_POST["selectlang"]:(isset($_GET["selectlang"])?$_GET["selectlang"]:$langs->getDefaultLang()); $langs->setDefaultLang($setuplang); $langs->load("install"); diff --git a/htdocs/install/inc.php b/htdocs/install/inc.php index 7ed9f65e7c7..0fced4cd913 100644 --- a/htdocs/install/inc.php +++ b/htdocs/install/inc.php @@ -19,7 +19,6 @@ * * $Id$ * $Source$ - * */ /** \file htdocs/install/inc.php