diff --git a/htdocs/ticket/class/ticket.class.php b/htdocs/ticket/class/ticket.class.php index f1f84fb8a9b..45e3cf361b3 100644 --- a/htdocs/ticket/class/ticket.class.php +++ b/htdocs/ticket/class/ticket.class.php @@ -3054,8 +3054,8 @@ class Ticket extends CommonObject $non_closed_contacts[] = $db->fetch_row($resql); } } - $to = array_filter($to, function($v, $k) use($non_closed_contacts, $langs) { - foreach($non_closed_contacts as $non_closed_contact) { + $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; }