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; }