From 8625f39c078bb52ec4adedc4b31fe00a5c4713cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Mon, 11 Mar 2013 15:06:57 +0100 Subject: [PATCH] // oops --- classes/LocalizationPack.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/classes/LocalizationPack.php b/classes/LocalizationPack.php index cb96729de..7e862fa59 100644 --- a/classes/LocalizationPack.php +++ b/classes/LocalizationPack.php @@ -331,8 +331,6 @@ class LocalizationPackCore $this->_errors[] = Tools::displayError('Server does not have permissions for writing.'); } } - } - // change the default language if there is only one language in the localization pack if (!count($this->_errors) && $install_mode && isset($attributes['iso_code']) && count($xml->languages->language) == 1) $this->iso_code_lang = $attributes['iso_code'];