diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php old mode 100644 new mode 100755 index cf665e8a470..68e95515bbf --- a/htdocs/ticket/card.php +++ b/htdocs/ticket/card.php @@ -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;