Skip to content

Commit 8d004fb

Browse files
CarlSchwanbackportbot[bot]
authored andcommitted
fix(psaml): correct type
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 parent c4024c0 commit 8d004fb

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
@@ -82,7 +82,7 @@ public function getDisplayNames(array $groupIds): array {
8282
$groups = $groupManager->getGroupsObjects($missing);
8383
$stillMissingGroups = array_diff($missing, array_keys($groups));
8484
foreach ($groups as $groupId => $group) {
85-
$displayName = $group->getDisplayName() ?? $group->getGID();
85+
$displayName = $group->getDisplayName();
8686
$this->cache[$groupId] = $displayName;
8787
$this->memCache->set($groupId, $displayName, 60 * 10); // 10 minutes
8888
$result[$groupId] = $displayName;

0 commit comments

Comments
 (0)