From 81b48cdeead405dd32da119d59ec275883ad4c30 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 19 Feb 2019 01:36:14 +0000 Subject: [PATCH] Bug 22365: Removing warn when accessing Log Viewer To test: Go to Tools -> Log Viewer and confirm the warn no longer shows after applying the patch. Sponsored-by: Catalyst IT Signed-off-by: Michal Denar --- tools/viewlog.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/viewlog.pl b/tools/viewlog.pl index f38ca19923..227ed24c3e 100755 --- a/tools/viewlog.pl +++ b/tools/viewlog.pl @@ -90,7 +90,7 @@ if ( $src eq 'circ' ) { $template->param( debug => $debug, C4::Search::enabled_staff_search_views, - subscriptionsnumber => CountSubscriptionFromBiblionumber($input->param('object')), + subscriptionsnumber => CountSubscriptionFromBiblionumber(scalar $input->param('object')), object => $object, ); -- 2.11.0