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, );