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

Return user of EndUser type for the ticket owner

parent 7d620f5e
No related branches found
No related tags found
No related merge requests found
......@@ -197,7 +197,7 @@ class Ticket {
if (!isset($this->owner)
&& ($u=User::lookup($this->getOwnerId())))
$this->owner = new TicketOwner($u, $this);
$this->owner = new TicketOwner(new EndUser($u), $this);
return $this->owner;
}
......
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