From 663cff92282a92bcbb0928e7170f4ef359ac9476 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 8 Feb 2017 12:20:28 -0800 Subject: fix ticketing system error on bootstrap of new install --- httemplate/elements/menu.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate') 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'; -- cgit v1.2.1