From 765a576baed655823d78f1520bf87e1224bab447 Mon Sep 17 00:00:00 2001 From: Francis Appels Date: Fri, 15 Aug 2025 17:30:09 +0200 Subject: [PATCH] FIX: Create public ticket if email need exist. (#34965) --- htdocs/public/ticket/create_ticket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }