diff --git a/htdocs/public/ticket/view.php b/htdocs/public/ticket/view.php index d1114d541ed..3e22e3a81bb 100644 --- a/htdocs/public/ticket/view.php +++ b/htdocs/public/ticket/view.php @@ -221,7 +221,7 @@ $formticket = new FormTicket($db); // Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context $hookmanager->initHooks(array('ticketpublicview', 'globalcard')); -if (empty(getDolGlobalString('TICKET_ENABLE_PUBLIC_INTERFACE'))) { +if (!getDolGlobalString('TICKET_ENABLE_PUBLIC_INTERFACE')) { print '