diff --git a/include/class.ticket.php b/include/class.ticket.php index a815cb9328fdb385631407ffa9f09a64c23114e2..905801d84e91bfd238a7205863073b41054ed1eb 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; }