From 81d333243d327794588c97668585e0f3e49d7ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 15 Aug 2018 20:18:02 +0200 Subject: [PATCH] Fix comparison MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Service/DefaultBoardService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/DefaultBoardService.php b/lib/Service/DefaultBoardService.php index 4c961f2e3..5e16401f8 100644 --- a/lib/Service/DefaultBoardService.php +++ b/lib/Service/DefaultBoardService.php @@ -92,7 +92,7 @@ class DefaultBoardService { throw new BadRequestException('title must be provided'); } - if ($userId === false || $userId == null) { + if ($userId === false || $userId === null) { throw new BadRequestException('userId must be provided'); }