diff --git a/lib/Service/BoardService.php b/lib/Service/BoardService.php index 6f6a69e3b..3cf163d9e 100644 --- a/lib/Service/BoardService.php +++ b/lib/Service/BoardService.php @@ -194,7 +194,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