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 <black23@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Aleisha Amohia 2019-02-19 01:36:14 +00:00 committed by Nick Clemens
parent c54c12f53d
commit 8adb2f8003

View file

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