Fix regression

This commit is contained in:
Laurent Destailleur 2024-03-12 13:55:00 +01:00 committed by GitHub
parent 6122ba335f
commit c19efebc76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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