Skip to content
Snippets Groups Projects
Commit 5ea0a9dd authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #731 from greezybacon/issue/thread-owner-email


Fix email address comparison issue

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents cb8ee050 9f4e453e
No related branches found
No related tags found
No related merge requests found
......@@ -533,7 +533,7 @@ Class ThreadEntry {
// Disambiguate if the user happens also to be a staff member of the
// system. The current ticket owner should _always_ post messages
// instead of notes or responses
if ($mailinfo['email'] == $ticket->getEmail()) {
if (strcasecmp($mailinfo['email'], $ticket->getEmail()) == 0) {
$vars['message'] = $body;
return $ticket->postMessage($vars, 'Email');
}
......
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