diff --git a/htdocs/public/ticket/list.php b/htdocs/public/ticket/list.php
index 1e1eb08dd5e..3c5dfffba17 100644
--- a/htdocs/public/ticket/list.php
+++ b/htdocs/public/ticket/list.php
@@ -561,14 +561,19 @@ if ($action == "view_ticketlist") {
// Ref
if (!empty($arrayfields['t.ref']['checked'])) {
print '
';
+ print '';
+ print img_picto('', 'ticket', 'class="paddingrightonly"');
print $obj->ref;
+ print '';
print ' | ';
}
// Subject
if (!empty($arrayfields['t.subject']['checked'])) {
print '';
- print ''.$obj->subject.'';
+ print '';
+ print $obj->subject;
+ print '';
print ' | ';
}
@@ -602,13 +607,14 @@ if ($action == "view_ticketlist") {
// Message author
if (!empty($arrayfields['t.fk_user_create']['checked'])) {
- print '';
+ print ' | ';
if ($obj->fk_user_create > 0) {
$user_create->firstname = (!empty($obj->user_create_firstname) ? $obj->user_create_firstname : '');
$user_create->name = (!empty($obj->user_create_lastname) ? $obj->user_create_lastname : '');
$user_create->id = (!empty($obj->fk_user_create) ? $obj->fk_user_create : '');
print $user_create->getFullName($langs);
} else {
+ print img_picto('', 'email', 'class="paddingrightonly"');
print $langs->trans('Email');
}
print ' | ';
@@ -617,10 +623,11 @@ if ($action == "view_ticketlist") {
// Assigned author
if (!empty($arrayfields['t.fk_user_assign']['checked'])) {
print '';
- if ($obj->fk_user_assig > 0) {
+ if ($obj->fk_user_assign > 0) {
$user_assign->firstname = (!empty($obj->user_assign_firstname) ? $obj->user_assign_firstname : '');
$user_assign->lastname = (!empty($obj->user_assign_lastname) ? $obj->user_assign_lastname : '');
$user_assign->id = (!empty($obj->fk_user_assign) ? $obj->fk_user_assign : '');
+ print img_picto('', 'user', 'class="paddingrightonly"');
print $user_assign->getFullName($langs);
}
print ' | ';