Fix regression
Fix regression
This commit is contained in:
parent
9f1904e8d2
commit
2cc95fda85
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue