Replace getDolGlobalString by getDolGlobalInt
This commit is contained in:
parent
0c573812e9
commit
db56e5c8ea
1 changed files with 1 additions and 1 deletions
|
|
@ -427,7 +427,7 @@ class InterfaceTicketEmail extends DolibarrTriggers
|
|||
}
|
||||
$message_customer .= '<p>'.$langs->trans('Message').' : <br><br>'.$message.'</p><br>';
|
||||
|
||||
if (getDolGlobalString('TICKET_ENABLE_PUBLIC_INTERFACE')) {
|
||||
if (getDolGlobalInt('TICKET_ENABLE_PUBLIC_INTERFACE')) {
|
||||
$url_public_ticket = ($conf->global->TICKET_URL_PUBLIC_INTERFACE ? $conf->global->TICKET_URL_PUBLIC_INTERFACE.'/view.php' : dol_buildpath('/public/ticket/view.php', 2)).'?track_id='.$object->track_id;
|
||||
$message_customer .= '<p>'.$langs->trans($see_ticket).' : <a href="'.$url_public_ticket.'">'.$url_public_ticket.'</a></p>';
|
||||
$message_customer .= '<p>'.$langs->trans('TicketEmailPleaseDoNotReplyToThisEmail').'</p>';
|
||||
|
|
|
|||
Loading…
Reference in a new issue