From 090ed8950be514ae0f619a790fea9148080c69c9 Mon Sep 17 00:00:00 2001 From: mattamon Date: Thu, 23 May 2024 09:53:40 +0200 Subject: [PATCH] Empty is enough --- src/Note/Service/FilterService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Note/Service/FilterService.php b/src/Note/Service/FilterService.php index 3e76b8ec4..48b3c9b9f 100644 --- a/src/Note/Service/FilterService.php +++ b/src/Note/Service/FilterService.php @@ -40,7 +40,7 @@ public function applyFilter(NoteListing $list, NoteParameters $parameters): void public function applyFieldFilters(NoteListing $list, NoteParameters $parameters): void { try { - if (!$parameters->getFieldFilters() || empty($parameters->getFieldFilters())) { + if (empty($parameters->getFieldFilters())) { return; }