Skip to content

Commit d559f67

Browse files
authored
Merge pull request #7898 from nextcloud/backport/7761/stable33
[stable33] fix: call findBoardId with int
2 parents ad522ea + bd9d465 commit d559f67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Sharing/DeckShareProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ public function getAccessList($nodes, $currentAccess) {
10231023
while ($row = $cursor->fetch()) {
10241024
$type = (int)$row['share_type'];
10251025
if ($type === IShare::TYPE_DECK) {
1026-
$cardId = $row['share_with'];
1026+
$cardId = (int)$row['share_with'];
10271027
$boardId = $this->cardMapper->findBoardId($cardId);
10281028
if ($boardId === null) {
10291029
continue;

0 commit comments

Comments
 (0)