From c19efebc76f62b45164d9023d1dc98304fd96ab8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 12 Mar 2024 13:55:00 +0100 Subject: [PATCH] Fix regression --- htdocs/public/ticket/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/public/ticket/index.php b/htdocs/public/ticket/index.php index 38bbf7d51bf..c985b92b0f4 100644 --- a/htdocs/public/ticket/index.php +++ b/htdocs/public/ticket/index.php @@ -71,7 +71,7 @@ if (!isModEnabled('ticket')) { $form = new Form($db); $formticket = new FormTicket($db); -if (empty(getDolGlobalString('TICKET_ENABLE_PUBLIC_INTERFACE'))) { +if (!getDolGlobalString('TICKET_ENABLE_PUBLIC_INTERFACE')) { print $langs->trans('TicketPublicInterfaceForbidden'); exit; }