Skip to content

Commit af113e3

Browse files
committed
fix(psaml): correct type
Signed-off-by: Carl Schwan <carlschwan@kde.org>
1 parent 20fab3e commit af113e3

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

0 commit comments

Comments
 (0)