Skip to content

Commit

Permalink
Empty is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed May 23, 2024
1 parent 7c4a173 commit 090ed89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Note/Service/FilterService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 090ed89

Please sign in to comment.