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

oops: Log string staff name in event, not AgentName object

parent abc93efd
Branches
Tags
No related merge requests found
...@@ -2076,7 +2076,7 @@ implements RestrictedAccess, Threadable { ...@@ -2076,7 +2076,7 @@ implements RestrictedAccess, Threadable {
if ($thisstaff && $thisstaff->getId() == $assignee->getId()) if ($thisstaff && $thisstaff->getId() == $assignee->getId())
$evd['claim'] = true; $evd['claim'] = true;
else else
$evd['staff'] = array($assignee->getId(), $assignee->getName()); $evd['staff'] = array($assignee->getId(), (string) $assignee->getName()->getOriginal());
} }
} elseif ($assignee instanceof Team) { } elseif ($assignee instanceof Team) {
if ($this->getTeamId() == $assignee->getId()) { if ($this->getTeamId() == $assignee->getId()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment