diff --git a/application/Espo/Services/Settings.php b/application/Espo/Services/Settings.php index f0ad53a6c8..ad6246bbdc 100644 --- a/application/Espo/Services/Settings.php +++ b/application/Espo/Services/Settings.php @@ -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; } }