X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Frouter.cgi;h=354111875af333d9daa285adaba303e913df9a1f;hb=db257f5b5f5c9e56dbaba19914d3ff9f5be9a4e0;hp=c7713f31340f28f531ee5f3947e21bea1a4df7ba;hpb=a7a22257d456394125eed32f8261c75a7f393ec2;p=freeside.git diff --git a/httemplate/browse/router.cgi b/httemplate/browse/router.cgi index c7713f313..354111875 100644 --- a/httemplate/browse/router.cgi +++ b/httemplate/browse/router.cgi @@ -17,8 +17,6 @@ %> <%init> -use CGI qw(escapeHTML); - die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Broadband configuration') || $FS::CurrentUser::CurrentUser->access_right('Broadband global configuration'); @@ -50,8 +48,8 @@ my @links = ( [ "${p2}edit/router.cgi?", 'routernum' ], ); foreach (FS::router->virtual_fields_hash) { - push @header_fields, escapeHTML($_->{'label'}); - push @fields, escapeHTML($_->{'name'}); + push @header_fields, encode_entities($_->{'label'}); + push @fields, encode_entities($_->{'name'}); push @links, ''; }