Skip to content
Snippets Groups Projects
Commit faf13a53 authored by Jared Hancock's avatar Jared Hancock
Browse files

Merge pull request #185 from soif/feature/fix_filters_from_web_tt


Fix filters applied on web created tickets

Reviewed-by: default avatarJared Hancock <jared@osticket.com>
parents d41ebbbd abed34ce
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