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'); }