From bc7be925e240b6c5d607e7dabafe808df3c702b0 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 1 Oct 2021 15:18:02 +0300 Subject: [PATCH] fix --- application/Espo/Services/Settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }