From 06c53f21dbf6258451999358e4f4fd59d3315111 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 7 Jul 2017 10:42:55 +0200 Subject: [PATCH] Bug 18260: [QA Follow-up] Always something left? Remove second Koha::Biblios->find in imageviewer.pl Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- catalogue/imageviewer.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/catalogue/imageviewer.pl b/catalogue/imageviewer.pl index cca7304fb9..c1db9ebd8e 100755 --- a/catalogue/imageviewer.pl +++ b/catalogue/imageviewer.pl @@ -108,7 +108,6 @@ $template->param (countorders => $count_orders_using_biblio); my $count_deletedorders_using_biblio = scalar @deletedorders_using_biblio ; $template->param (countdeletedorders => $count_deletedorders_using_biblio); -$biblio = Koha::Biblios->find( $biblionumber ); my $hold_count = $biblio ? $biblio->holds->count : 0; $template->param( holdcount => $hold_count ); -- 2.39.5