summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-02-08 12:20:28 -0800
committerIvan Kohler <ivan@freeside.biz>2017-02-08 16:15:37 -0800
commit663cff92282a92bcbb0928e7170f4ef359ac9476 (patch)
tree056212d756d2c6a8cc8bafc14c44c4964324b5f7 /httemplate
parent7091336a8adde1b933ff2eaab4188d7a255aa6e3 (diff)
fix ticketing system error on bootstrap of new install
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/menu.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index cabc33fb1..98c827726 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -862,7 +862,7 @@ $config_menu{'Billing'} = [ \%config_billing, '' ]
if keys %config_billing;
$config_menu{'Ticketing'} = [ \%config_ticketing, '' ]
if $conf->config('ticket_system')
- && FS::TicketSystem->access_right(\%session, 'ShowConfigTab');
+ && eval { FS::TicketSystem->access_right(\%session, 'ShowConfigTab') };
$config_menu{'Network Monitoring'} = [ \%config_nms, '' ]
if $curuser->access_right('Configure network monitoring')
&& $conf->config('network_monitoring_system') eq 'Torrus_Internal';