Add assignedBy to ticket

This commit is contained in:
Mike Koch 2018-05-16 12:57:11 -04:00
parent 6be05bebfe
commit 17c5607ce7
No known key found for this signature in database
GPG Key ID: 9DF46195699C8A67

View File

@ -42,6 +42,7 @@ class Ticket extends \BaseClass {
$ticket->numberOfReplies = intval($row['replies']);
$ticket->numberOfStaffReplies = intval($row['staffreplies']);
$ticket->ownerId = intval($row['owner']);
$ticket->assignedBy = $row['assigned_by'] === null ? null : intval($row['assigned_by']);
$ticket->timeWorked = $row['time_worked'];
$ticket->lastReplyBy = intval($row['lastreplier']);
$ticket->lastReplier = $row['replierid'] === null ? null : intval($row['replierid']);
@ -258,6 +259,11 @@ class Ticket extends \BaseClass {
*/
public $ownerId;
/**
* @var int|null
*/
public $assignedBy;
/**
* @var string
*/