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

Fix bug detecting emails from system email addresses

parent 6603bfa5
Branches
Tags
No related merge requests found
......@@ -544,7 +544,7 @@ Class ThreadEntry {
$vars['note'] = $body;
return $ticket->postNote($vars, $errors, $poster);
}
elseif (Email::lookupByEmail($mailinfo['email'])) {
elseif (Email::getIdByEmail($mailinfo['email'])) {
// Don't process the email -- it came FROM this system
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment