[-] Installer : install failed when you had an exotic (i.e. not by default in the installer) default country/language #PSCFV-3891

This commit is contained in:
dMetzger committed 2012-09-05 08:00:49 +00:00
1 parent ecc4aea4ce
commit 15277fb096
1 file changed
+1
+1
View File
@@ -61,6 +61,7 @@ class LocalizationPackCore
{ {
if (!$id_lang = (int)Language::getIdByIso($this->iso_code_lang)) if (!$id_lang = (int)Language::getIdByIso($this->iso_code_lang))
$id_lang = 1; $id_lang = 1;
if (!$install_mode)
Configuration::updateValue('PS_LANG_DEFAULT', $id_lang); Configuration::updateValue('PS_LANG_DEFAULT', $id_lang);
} }