Skip to content

Commit

Permalink
FIX#31241 (#31245)
Browse files Browse the repository at this point in the history
  • Loading branch information
alsoft10 authored Oct 3, 2024
1 parent 7cdc96e commit b85b826
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public function runTrigger($action, $object, User $user, Translate $langs, Conf
}

// Send email to customer
if (!getDolGlobalString('TICKET_DISABLE_CUSTOMER_MAILS') && empty($object->context['disableticketemail']) && $object->notify_tiers_at_create) {
if (!getDolGlobalInt('TICKET_DISABLE_CUSTOMER_MAILS') && empty($object->context['disableticketemail']) && $object->notify_tiers_at_create) {
$sendto = '';

// if contact selected send to email's contact else send to email's thirdparty
Expand Down

0 comments on commit b85b826

Please sign in to comment.