mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
fix(admin-delegation-show): show delegations for all priorities
otherwise delegation only from the first priority array ara shown Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
This commit is contained in:
parent
8fddecbc98
commit
44fe892b5b
1 changed files with 1 additions and 1 deletions
|
|
@ -156,6 +156,6 @@ class Show extends Base {
|
|||
* @param array $innerSection
|
||||
*/
|
||||
private function getDelegatedSettings(array $settings, array $innerSection): array {
|
||||
return $settings + array_filter($innerSection, fn (ISettings $setting) => $setting instanceof IDelegatedSettings);
|
||||
return array_merge($settings, array_filter($innerSection, fn (ISettings $setting) => $setting instanceof IDelegatedSettings));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue