Merge branch 'dev_NEW_dont_send_ticket_mail_to_closed_contact' of github.com:MaximilienR-easya/dolibarr into dev_NEW_dont_send_ticket_mail_to_closed_contact
This commit is contained in:
commit
4a6692b899
@ -3055,7 +3055,7 @@ class Ticket extends CommonObject
|
||||
$non_closed_contacts[] = $this->db->fetch_row($resql);
|
||||
}
|
||||
}
|
||||
$to = array_filter($to, function($v, $k) use($non_closed_contacts, $langs) {
|
||||
$to = array_filter($to, function ($v, $k) use ($non_closed_contacts, $langs) {
|
||||
foreach ($non_closed_contacts as $non_closed_contact) {
|
||||
if ($k == $non_closed_contact[0])
|
||||
return true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user