Here we go
Line 209 in tickets.inc.php under upload/include/staff/ should look like this
$qselect = 'SELECT DISTINCT ticket.ticket_id,lock_id,ticketID,ticket.dept_id,ticket.staff_id,subject,name,email,dept_name '.
',ticket.status,ticket.source,isoverdue,isanswered,ticket.created,pri.* ,count(attach.attach_id) as attachments ';
Change it to this
$qselect = 'SELECT DISTINCT ticket.ticket_id,lock_id,ticketID,ticket.dept_id,ticket.staff_id,subject,name,email,dept_name '.
',ticket.status,ticket.source,isoverdue,isanswered,ticket.created,pri.* ,count(attach.attach_id) as attachments, staff.firstname, staff.lastname ';
Add this between line 231 and 232
' LEFT JOIN '.STAFF_TABLE.' staff ON ticket.staff_id=staff.staff_id '.
So that it looks like this
$qfrom.=' LEFT JOIN '.TICKET_PRIORITY_TABLE.' pri ON ticket.priority_id=pri.priority_id '.
' LEFT JOIN '.TICKET_LOCK_TABLE.' tlock ON ticket.ticket_id=tlock.ticket_id AND tlock.expire>NOW() '.
' LEFT JOIN '.STAFF_TABLE.' staff ON ticket.staff_id=staff.staff_id '.
' LEFT JOIN '.TICKET_ATTACHMENT_TABLE.' attach ON ticket.ticket_id=attach.ticket_id';
after doing this $row will contain the assigned staff members first name and likewise $row will contain their last name. As for the html you can format it to suit your needs. Examples
Just First name
<?=$row?>
First and last name
<?=$row.' '.$row?>
First 20 characters of first and last name
<?=Format:($row.' '.$row,20)?>
Hope this helps.