From 7aad1df80c9af0309d60317a6dfb6391099506e2 Mon Sep 17 00:00:00 2001 From: Stefan Berndtsson Date: Mon, 27 Nov 2017 12:33:21 +0100 Subject: [PATCH] Bug 19695: Fix another instance of ->find in list context (uncertainprice.pl) Signed-off-by: Jonathan Druart --- acqui/uncertainprice.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/uncertainprice.pl b/acqui/uncertainprice.pl index 220805eb88..7fa95ab417 100755 --- a/acqui/uncertainprice.pl +++ b/acqui/uncertainprice.pl @@ -73,7 +73,7 @@ my $op = $input->param('op'); my $owner = $input->param('owner') || 0 ; # flag to see only "my" orders, or everyone orders my $bookseller = Koha::Acquisition::Booksellers->find( $booksellerid ); -$template->param( basket => Koha::Acquisition::Baskets->find($basketno) ); +$template->param( basket => scalar Koha::Acquisition::Baskets->find($basketno) ); #show all orders that have uncertain price for the bookseller my $pendingorders = SearchOrders({ -- 2.39.5