diff --git a/include/objectManager.php b/include/objectManager.php index cec6fac..1b8fb4c 100644 --- a/include/objectManager.php +++ b/include/objectManager.php @@ -302,7 +302,7 @@ class ObjectManager /* did we get any entries? */ if(!$hResult || query_num_rows($hResult) == 0) { - if($this->oFilters->getFilterCount()) + if($this->oFilters && $this->oFilters->getFilterCount()) { echo '
No matches found
'; } else