From 15277fb0969a4cf02fe15a601aa2ee662be394f1 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Wed, 5 Sep 2012 08:00:49 +0000 Subject: [PATCH] [-] Installer : install failed when you had an exotic (i.e. not by default in the installer) default country/language #PSCFV-3891 --- classes/LocalizationPack.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/LocalizationPack.php b/classes/LocalizationPack.php index 1650cb0a7..cf1e0011b 100644 --- a/classes/LocalizationPack.php +++ b/classes/LocalizationPack.php @@ -61,7 +61,8 @@ class LocalizationPackCore { if (!$id_lang = (int)Language::getIdByIso($this->iso_code_lang)) $id_lang = 1; - Configuration::updateValue('PS_LANG_DEFAULT', $id_lang); + if (!$install_mode) + Configuration::updateValue('PS_LANG_DEFAULT', $id_lang); } if ($install_mode && $res && isset($this->iso_currency))