NEW ticket module : add an option to enable default check notify tier at creation
introduces new option TICKET_CHECK_NOTIFY_TIER_AT_CREATE
This commit is contained in:
parent
1ae01ba2fc
commit
bb86be062c
2
htdocs/ticket/card.php
Normal file → Executable file
2
htdocs/ticket/card.php
Normal file → Executable file
@ -742,7 +742,7 @@ if ($action == 'create' || $action == 'presend') {
|
||||
$formticket->withfromsocid = $socid ? $socid : $user->socid;
|
||||
$formticket->withfromcontactid = $contactid ? $contactid : '';
|
||||
$formticket->withtitletopic = 1;
|
||||
$formticket->withnotifytiersatcreate = ($notifyTiers ? 1 : 0);
|
||||
$formticket->withnotifytiersatcreate = ($notifyTiers ? 1 : !empty($conf->global->TICKET_CHECK_NOTIFY_TIER_AT_CREATE) ? 1 : 0);
|
||||
$formticket->withusercreate = 0;
|
||||
$formticket->withref = 1;
|
||||
$formticket->fk_user_create = $user->id;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user