Skip to content
Snippets Groups Projects
Commit abed34ce authored by soif's avatar soif
Browse files

Web Ticket don't have emailId, they should not be affected by rules with TO-emailId defined

parent 9ceed946
No related branches found
No related tags found
No related merge requests found
...@@ -236,9 +236,9 @@ class Filter { ...@@ -236,9 +236,9 @@ class Filter {
); );
$match = false; $match = false;
# Respect configured filter email-id # Respect configured filter email-id
if ($email['emailId'] && $this->getEmailId() if ($this->getEmailId() && $this->getEmailId() != $email['emailId'])
&& $this->getEmailId() != $email['emailId'])
return false; return false;
foreach ($this->getRules() as $rule) { foreach ($this->getRules() as $rule) {
list($func, $pos, $neg) = $how[$rule['h']]; list($func, $pos, $neg) = $how[$rule['h']];
# TODO: convert $what and $rule['v'] to mb_strtoupper and do # TODO: convert $what and $rule['v'] to mb_strtoupper and do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment