Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Share/RoomShareProvider.php')
-rw-r--r--lib/Share/RoomShareProvider.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Share/RoomShareProvider.php b/lib/Share/RoomShareProvider.php
index df8311f10..287477884 100644
--- a/lib/Share/RoomShareProvider.php
+++ b/lib/Share/RoomShareProvider.php
@@ -970,12 +970,12 @@ class RoomShareProvider implements IShareProvider {
$userList = $this->participantService->getParticipantUserIds($room);
foreach ($userList as $uid) {
- $users[$uid] = $users[$uid] ?? [];
+ $users[$uid] ??= [];
$users[$uid][$row['id']] = $row;
}
} elseif ($type === self::SHARE_TYPE_USERROOM && $currentAccess === true) {
$uid = $row['share_with'];
- $users[$uid] = $users[$uid] ?? [];
+ $users[$uid] ??= [];
$users[$uid][$row['id']] = $row;
}
}