[-] IN : fixed local install without connection #PSCFV-9286 #PSCFV-9709

This commit is contained in:
Damien Metzger
2013-07-09 10:21:22 +02:00
parent 18b247be94
commit c0c6c10bba
5 changed files with 8 additions and 10 deletions
-2
View File
@@ -704,10 +704,8 @@ class LanguageCore extends ObjectModel
$lang->name = $lang_pack->name;
}
elseif ($params_lang !== null && is_array($params_lang))
{
foreach ($params_lang as $key => $value)
$lang->$key = $value;
}
else
return false;