Fix regression

Fix regression
This commit is contained in:
Laurent Destailleur 2024-03-12 13:51:21 +01:00 committed by GitHub
parent 9f1904e8d2
commit 2cc95fda85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 '<div class="error">'.$langs->trans('TicketPublicInterfaceForbidden').'</div>';
$db->close();
exit();