Ensure boardId is an integer

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
This commit is contained in:
Git'Fellow
2023-06-09 07:43:25 +00:00
committed by backportbot-nextcloud[bot]
parent c5cf9a9d95
commit da93c1a4c6
+1 -1
View File
@@ -601,7 +601,7 @@ class CardMapper extends QBMapper implements IPermissionMapper {
}
$this->cache->set('findBoardId:' . $id, $result);
}
return $result !== false ? $result : null;
return $result !== false ? (int) $result : null;
}
public function mapOwner(Card &$card) {