From ef7baf723fac452601106d16f472bdd03db76db7 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 --- tools/viewlog.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/viewlog.pl b/tools/viewlog.pl index 4e8a2c3cf3..f8463c0be1 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