forked from Wavyzz/dolibarr
Fix bad name of trigger
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user