Skip to content

Commit 2b5395a

Browse files
authored
fix(psaml): correct type
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 parent cc582ab commit 2b5395a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Group/DisplayNameCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function getDisplayNames(array $groupIds): array {
8383
$groups = $groupManager->getGroupsObjects($missing);
8484
$stillMissingGroups = array_diff($missing, array_keys($groups));
8585
foreach ($groups as $groupId => $group) {
86-
$displayName = $group->getDisplayName() ?? $group->getGID();
86+
$displayName = $group->getDisplayName();
8787
$this->cache[$groupId] = $displayName;
8888
$this->memCache->set($groupId, $displayName, 60 * 10); // 10 minutes
8989
$result[$groupId] = $displayName;

0 commit comments

Comments
 (0)