$installedUI empty
This commit is contained in:
parent
56ea9917ec
commit
b04d0b6ce3
@ -178,12 +178,13 @@ class translate extends common
|
||||
// Langues disponibles avec la mise à jour
|
||||
$store = json_decode(file_get_contents('core\module\install\ressource\i18n\languages.json'), true);
|
||||
$store = $store['languages'];
|
||||
|
||||
if ($installedUI) {
|
||||
foreach($installedUI as $key => $value) {
|
||||
if ($store[$key]['version'] > $value['version']) {
|
||||
$this->setData(['languages', $key, $store[$key]]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Préparation du formulaire
|
||||
// -------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user