From 8adb2f8003e25f6fe8cc78506a823a618a837fa1 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 Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- tools/viewlog.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/viewlog.pl b/tools/viewlog.pl index 4e8a2c3..f8463c0 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, ); -- 1.7.2.5