From 2cc95fda85f3fff2bf46f330e9e60f42074b25ef Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 12 Mar 2024 13:51:21 +0100 Subject: [PATCH] Fix regression Fix regression --- htdocs/public/ticket/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/public/ticket/list.php b/htdocs/public/ticket/list.php index 57071f175a4..4d2fd4f7888 100644 --- a/htdocs/public/ticket/list.php +++ b/htdocs/public/ticket/list.php @@ -181,7 +181,7 @@ $user_assign = new User($db); $user_create = new User($db); $formTicket = new FormTicket($db); -if (empty(getDolGlobalString('TICKET_ENABLE_PUBLIC_INTERFACE'))) { +if (getDolGlobalString('TICKET_ENABLE_PUBLIC_INTERFACE')) { print '
'.$langs->trans('TicketPublicInterfaceForbidden').'
'; $db->close(); exit();