diff --git a/inc/SMD/Core/sysMonDash.class.php b/inc/SMD/Core/sysMonDash.class.php index 942a1c6..8dfc4fe 100644 --- a/inc/SMD/Core/sysMonDash.class.php +++ b/inc/SMD/Core/sysMonDash.class.php @@ -190,16 +190,16 @@ public function getBackends() private function filterItems(EventInterface $item) { if ($this->getFilterHosts($item) === false || $this->getFilterServices($item) === false) { - return false; + return ($item->isAcknowledged() + || $this->getFilterIsFlapping($item) + || $this->getFilterState($item) + || $this->getFilterUnreachable($item) + || $this->getFilterScheduled($item) + || $this->getFilterLevel($item) + ); } - return ($item->isAcknowledged() - || $this->getFilterIsFlapping($item) - || $this->getFilterState($item) - || $this->getFilterUnreachable($item) - || $this->getFilterScheduled($item) - || $this->getFilterLevel($item) - ); + return true; } /**