From 05102aa1dc460c7cb174b380c6d871ab0cad735a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 25 Apr 2019 14:06:49 +0200 Subject: [PATCH] Add proper default value for since to fetch boards that have no last_modified date yet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Service/BoardService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/BoardService.php b/lib/Service/BoardService.php index bfd1cd128..1e03b7445 100644 --- a/lib/Service/BoardService.php +++ b/lib/Service/BoardService.php @@ -101,7 +101,7 @@ class BoardService { /** * @return array */ - public function findAll($since = 0, $details = null) { + public function findAll($since = -1, $details = null) { $userInfo = $this->getBoardPrerequisites(); $userBoards = $this->boardMapper->findAllByUser($userInfo['user'], null, null, $since); $groupBoards = $this->boardMapper->findAllByGroups($userInfo['user'], $userInfo['groups'],null, null, $since);