2
0
forked from Wavyzz/dolibarr

Fix bad name of trigger

This commit is contained in:
Laurent Destailleur
2019-10-01 11:28:10 +02:00
parent 6ebd060315
commit c7da05e4a1
4 changed files with 6 additions and 6 deletions

View File

@@ -97,7 +97,7 @@ $url_page_current = DOL_URL_ROOT.'/ticket/card.php';
//if ($user->societe_id > 0) $socid = $user->societe_id;
$result = restrictedArea($user, 'ticket', $object->id);
$triggermodname = 'TICKETSUP_MODIFY';
$triggermodname = 'TICKET_MODIFY';
$permissiontoadd = $user->rights->ticket->write;
$actionobject = new ActionsTicket($db);

View File

@@ -2672,7 +2672,7 @@ class Ticket extends CommonObject
global $conf, $langs;
if ($conf->global->TICKET_DISABLE_ALL_MAILS) {
dol_syslog(get_class($this) . '::sendTicketMessageByEmail: Emails are disable into ticket setup by option TICKETSUP_DISABLE_ALL_MAILS', LOG_WARNING);
dol_syslog(get_class($this) . '::sendTicketMessageByEmail: Emails are disable into ticket setup by option TICKET_DISABLE_ALL_MAILS', LOG_WARNING);
return '';
}