Fix bad use of getDolGlobalInt to get a string in ticket.class.php (#34353)

* Fix bad use of getDolGlobalInt to get a string in ticket.class.php

* fix
This commit is contained in:
Lucas Marcouiller 2025-06-04 15:22:22 +02:00 committed by GitHub
parent 22e2087b9e
commit fc667082ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2994,7 +2994,7 @@ class Ticket extends CommonObject
}
$sendtocc = array();
if (getDolGlobalInt("TICKET_SEND_INTERNAL_CC")) {
if (getDolGlobalString("TICKET_SEND_INTERNAL_CC")) {
$sendtocc = explode(',', getDolGlobalString("TICKET_SEND_INTERNAL_CC"));
}