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 {
);
$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
......
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