From 164caa7eeb7b4475e7832ecdca9eb561bd4e5aee Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 4 Mar 2019 11:40:17 -0500 Subject: [PATCH] Bug 21411: (follow-up) Missing filters and unused variable POD warnings from QA tool are false positives (basic functionsn POD not needed) Signed-off-by: Liz Rea Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- .../intranet-tmpl/prog/en/modules/cataloguing/editor.tt | 4 ++-- .../prog/en/modules/tools/adveditorshortcuts.tt | 6 +++--- tools/adveditorshortcuts.pl | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt index 9c49cc867d..90575307a5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt @@ -279,8 +279,8 @@ [% FOREACH shortcut IN shortcuts %] - [% shortcut.shortcut_keys %] - [% shortcut.shortcut_desc %] + [% shortcut.shortcut_keys | html %] + [% shortcut.shortcut_desc | html %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/adveditorshortcuts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/adveditorshortcuts.tt index c1b98dc3e3..abbc4ac37b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/adveditorshortcuts.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/adveditorshortcuts.tt @@ -40,10 +40,10 @@ [% FOREACH shortcut IN shortcuts %] - + - - + + [% END %] diff --git a/tools/adveditorshortcuts.pl b/tools/adveditorshortcuts.pl index a5162b14d7..6e4279c6a8 100755 --- a/tools/adveditorshortcuts.pl +++ b/tools/adveditorshortcuts.pl @@ -45,7 +45,6 @@ use Koha::KeyboardShortcuts; my $input = new CGI; my $op = $input->param('op') || 'list'; -my @messages; my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "tools/adveditorshortcuts.tt", -- 2.39.5