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 {
);
$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.
Please register or to comment