From d92d00d0a0be8cc003feaf52c4e1e1a7fd4323c5 Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@osticket.com> Date: Mon, 20 Jan 2014 14:59:14 +0000 Subject: [PATCH] Return user of EndUser type for the ticket owner --- include/class.ticket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class.ticket.php b/include/class.ticket.php index a815cb932..905801d84 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -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; } -- GitLab