diff --git a/htdocs/ticket/class/ticket.class.php b/htdocs/ticket/class/ticket.class.php index 73938c823a6..b8ff7f72d96 100644 --- a/htdocs/ticket/class/ticket.class.php +++ b/htdocs/ticket/class/ticket.class.php @@ -2886,7 +2886,7 @@ class Ticket extends CommonObject $sendtocc = array(); if (getDolGlobalInt("TICKET_SEND_INTERNAL_CC")) { - $sendtocc = explode(',', getDolGlobalInt("TICKET_SEND_INTERNAL_CC")); + $sendtocc = explode(',', getDolGlobalString("TICKET_SEND_INTERNAL_CC")); } // don't try to send email if no recipient @@ -2995,7 +2995,7 @@ class Ticket extends CommonObject $sendtocc = array(); if (getDolGlobalInt("TICKET_SEND_INTERNAL_CC")) { - $sendtocc = explode(',', getDolGlobalInt("TICKET_SEND_INTERNAL_CC")); + $sendtocc = explode(',', getDolGlobalString("TICKET_SEND_INTERNAL_CC")); } // Don't try to send email when no recipient