diff --git a/include/class.filter.php b/include/class.filter.php index bc9b0847132aff00f794dd74abf6b2ec71379e35..b6c81b42b60d0d4b8c67d3f7b33b1138695fa1e7 100644 --- a/include/class.filter.php +++ b/include/class.filter.php @@ -236,9 +236,9 @@ class Filter { ); $match = false; # Respect configured filter email-id - if ($email['emailId'] && $this->getEmailId() - && $this->getEmailId() != $email['emailId']) + if ($this->getEmailId() && $this->getEmailId() != $email['emailId']) return false; + foreach ($this->getRules() as $rule) { list($func, $pos, $neg) = $how[$rule['h']]; # TODO: convert $what and $rule['v'] to mb_strtoupper and do