This commit is contained in:
Yuri Kuznetsov
2021-10-01 15:18:02 +03:00
parent 9091e49650
commit bc7be925e2
+2 -2
View File
@@ -129,7 +129,7 @@ class Settings
$ignoreItemList[] = $item;
}
foreach ($this->access->getSuperAdminOnlySystemItemList() as $item) {
foreach ($this->access->getSuperAdminParamList() as $item) {
$ignoreItemList[] = $item;
}
}
@@ -203,7 +203,7 @@ class Settings
}
if ($this->config->get('restrictedMode') && !$user->isSuperAdmin()) {
foreach ($this->config->getSuperAdminOnlySystemItemList() as $item) {
foreach ($this->access->getSuperAdminParamList() as $item) {
$ignoreItemList[] = $item;
}
}