[freeside-commits] branch master updated. 6f51d54c8de43287007d1844595314cbed511f4c

Ivan ivan at 420.am
Wed Feb 8 12:20:30 PST 2017


The branch, master has been updated
       via  6f51d54c8de43287007d1844595314cbed511f4c (commit)
      from  a6f90db7a81b1cee5749e42878188577fa5d99b5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6f51d54c8de43287007d1844595314cbed511f4c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Feb 8 12:20:28 2017 -0800

    fix ticketing system error on bootstrap of new install

diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index 79a9c6d..23b1271 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -865,7 +865,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';

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/menu.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list