From 80e000a6b747e868deda175d463dd7bae2459bbc Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Fri, 20 Sep 2013 16:07:35 -0500 Subject: [PATCH] Fix bug detecting emails from system email addresses --- include/class.thread.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class.thread.php b/include/class.thread.php index c31a19151..ee86378e6 100644 --- a/include/class.thread.php +++ b/include/class.thread.php @@ -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; } -- GitLab