Skip to content
Snippets Groups Projects
Commit d4262cef authored by JediKev's avatar JediKev Committed by Peter Rotich
Browse files

issue: Auto-Assignment Log

This addresses an issue on the Forums where the Auto-Assignment Thread
Event (configurable via Help Topic) uses the Email of the User rather than
the User’s Name. This adds the correct function to retrieve the User’s
Name if the User has an Account.
parent 606f45ba
No related branches found
No related tags found
No related merge requests found
......@@ -1791,8 +1791,8 @@ class ThreadEvents extends InstrumentedList {
}
// XXX: Use $user here
elseif ($thisclient) {
if ($thisclient->hasAccount)
$username = $thisclient->getAccount()->getUserName();
if ($thisclient->hasAccount())
$username = $thisclient->getFullName();
if (!$username)
$username = $thisclient->getEmail();
}
......
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