diff --git a/htdocs/public/ticket/create_ticket.php b/htdocs/public/ticket/create_ticket.php index 18cdece5c6a..a49b053b7b3 100644 --- a/htdocs/public/ticket/create_ticket.php +++ b/htdocs/public/ticket/create_ticket.php @@ -178,7 +178,7 @@ if (empty($reshook)) { // Ensure that contact is active and select first active contact foreach ($contacts as $key => $contact) { - if ((int) $contact->status == 1) { + if ((int) $contact->statut == 1) { $cid = $key; break; }