Skip to content

Commit f890d3b

Browse files
authored
Merge pull request #7761 from nextcloud/fix/call-findBoardId-with-int
fix: call findBoardId with int
2 parents 446b3de + d835015 commit f890d3b

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
@@ -1024,7 +1024,7 @@ public function getAccessList($nodes, $currentAccess) {
10241024
while ($row = $cursor->fetch()) {
10251025
$type = (int)$row['share_type'];
10261026
if ($type === IShare::TYPE_DECK) {
1027-
$cardId = $row['share_with'];
1027+
$cardId = (int)$row['share_with'];
10281028
$boardId = $this->cardMapper->findBoardId($cardId);
10291029
if ($boardId === null) {
10301030
continue;

0 commit comments

Comments
 (0)