diff options
author | Christopher Ng <chrng8@gmail.com> | 2021-11-25 05:01:18 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2021-11-25 05:01:18 +0000 |
commit | ae85a16ed22af110710154a1bddd6ff19f79e290 (patch) | |
tree | 7208a0213c1f250a0d0c9b4f88a4cb776bbaec25 | |
parent | d42a28cd7ced228545e0f7b77ee60db8ad26d9e1 (diff) | |
download | nextcloud-server-ae85a16ed22af110710154a1bddd6ff19f79e290.tar.gz nextcloud-server-ae85a16ed22af110710154a1bddd6ff19f79e290.zip |
Fix inactive profile parameters being returned
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-rw-r--r-- | lib/private/Profile/ProfileManager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Profile/ProfileManager.php b/lib/private/Profile/ProfileManager.php index f83de7fd358..557ae87bafe 100644 --- a/lib/private/Profile/ProfileManager.php +++ b/lib/private/Profile/ProfileManager.php @@ -425,6 +425,7 @@ class ProfileManager { ]; $paramMetadata = array_merge($actionsMetadata, $propertiesMetadata); + $configArray = array_intersect_key($configArray, $paramMetadata); foreach ($configArray as $paramId => $paramConfig) { if (isset($paramMetadata[$paramId])) { |