From 16e48da91eb7e71dbf8cdcc579662955018dda06 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 23 Jul 2024 19:35:06 +0200 Subject: [PATCH] Fix CTI --- htdocs/langs/en_US/ticket.lang | 1 + htdocs/ticket/card.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/langs/en_US/ticket.lang b/htdocs/langs/en_US/ticket.lang index 2e5a6621d2e..e0ae9f08127 100644 --- a/htdocs/langs/en_US/ticket.lang +++ b/htdocs/langs/en_US/ticket.lang @@ -330,3 +330,4 @@ BoxNewTicketVSClose=Number of tickets versus closed tickets (today) TicketCreatedToday=Ticket created today TicketClosedToday=Ticket closed today KMFoundForTicketGroup=We found topics and FAQs that may answers your question, thanks to check them before submitting the ticket +SetTitle=Set title diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php index 291e4cd4b08..9cfc33b8ed2 100644 --- a/htdocs/ticket/card.php +++ b/htdocs/ticket/card.php @@ -887,7 +887,7 @@ if ($action == 'create' || $action == 'presend') { $morehtmlref = '
'; if ($user->hasRight('ticket', 'write') && !$user->socid) { - $morehtmlref .= ''.img_edit($langs->transnoentitiesnoconv('SetSubject'), 0).' '; + $morehtmlref .= ''.img_edit($langs->transnoentitiesnoconv('SetTitle'), 0).' '; } if ($action != 'editsubject') { $morehtmlref .= $object->subject;