diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-02-08 12:20:28 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-02-08 16:15:50 -0800 |
commit | 6063323400b7721c71d89d3cc39355153fc3bf2b (patch) | |
tree | 57f5424ce2391b7889e263c9c5da281de0be2629 | |
parent | 9f3d40d71b076c664b38c1cfa4b60c12d42c473a (diff) |
fix ticketing system error on bootstrap of new install
-rw-r--r-- | httemplate/elements/menu.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index bd2464a89..829a78792 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -818,7 +818,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'; |