[-] Installer : install failed when you had an exotic (i.e. not by default in the installer) default country/language #PSCFV-3891
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17171 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
3d7a80671a
commit
42a1b6d5c4
1 file changed
+2
-1
@@ -61,7 +61,8 @@ 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;
|
||||||
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))
|
if ($install_mode && $res && isset($this->iso_currency))
|
||||||
|
|||||||
Reference in new issue
Block a user