Merge pull request #19900 from thomas-Ngr/develop_new_ticket_check_notify_tier_at_create
NEW option to default check "notify tier at creation" in ticket module
This commit is contained in:
commit
dfcaeea9d1
@ -749,7 +749,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_THIRDPARTY_AT_CREATION) ? 0 : 1));
|
||||
$formticket->withusercreate = 0;
|
||||
$formticket->withref = 1;
|
||||
$formticket->fk_user_create = $user->id;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user