diff --git a/Helper/Search.php b/Helper/Search.php index 94f71c8..6175495 100644 --- a/Helper/Search.php +++ b/Helper/Search.php @@ -42,7 +42,7 @@ public function __construct( $this->setRepository($repository); $this->setEventDispatcher($eventDispatcher); - if ($term) { + if (null !== $term) { $this->setTerm($term); } }