Skip to content

Commit bd9d465

Browse files
grnd-altbackportbot[bot]
authored andcommitted
fix: call findBoardId with int
Signed-off-by: grnd-alt <git@belakkaf.net>
1 parent ad522ea commit bd9d465

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)