diff --git a/lib/Service/BoardService.php b/lib/Service/BoardService.php index 2c3bca46b..f1cf2b55f 100644 --- a/lib/Service/BoardService.php +++ b/lib/Service/BoardService.php @@ -192,7 +192,7 @@ class BoardService { $this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ); /** @var Board $board */ - $board = $this->boardMapper->find($boardId, true, true, $allowDeleted); + $board = $this->boardMapper->find((int)$boardId, true, true, $allowDeleted); $this->boardMapper->mapOwner($board); if ($board->getAcl() !== null) { foreach ($board->getAcl() as $acl) { diff --git a/tests/integration/base-query-count.txt b/tests/integration/base-query-count.txt new file mode 100644 index 000000000..4fe36e923 --- /dev/null +++ b/tests/integration/base-query-count.txt @@ -0,0 +1 @@ +68024