Fix check installed language version

This commit is contained in:
Fred Tempez 2023-03-11 17:10:34 +01:00
parent cb63315eea
commit 98db071fea

View File

@ -188,7 +188,7 @@ class translate extends common
$store = $store['languages']; $store = $store['languages'];
foreach($installedUI as $key => $value) { foreach($installedUI as $key => $value) {
if ($store[$key]['version'] > $value['version']) { if (isset($store[$key]) && $store[$key]['version'] > $value['version']) {
$this->setData(['languages', $key, $store[$key]]); $this->setData(['languages', $key, $store[$key]]);
} }
} }