Skip to content

Commit

Permalink
* [FIX] Fixed regular expression handling. Related #22
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxsmin authored and nuxsmin committed Apr 11, 2017
1 parent d7de7d8 commit 402fdf8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions inc/SMD/Core/sysMonDash.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 402fdf8

Please sign in to comment.