From 92fa3c5dc2e7181dac1344692755cde648914e53 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Tue, 23 Oct 2018 13:02:52 +0000 Subject: [PATCH] Bug 19532: Fixed missing variable declaration error Sponsored-By: Toi Ohomai Institute of Technology, New Zealand --- C4/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index cd46b92..c8e9baa 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -2170,7 +2170,7 @@ sub searchResults { # ($transfertwhen, $transfertfrom, $transfertto) = C4::Circulation::GetTransfers($item->{itemnumber}); $reservestatus = C4::Reserves::GetReserveStatus( $item->{itemnumber} ); - $recallstatus = Koha::Recalls->find({ itemnumber => $itemnumber->{itemnumber}, status => 'W' }); + $recallstatus = Koha::Recalls->find({ itemnumber => $item->{itemnumber}, status => 'W' }); } # item is withdrawn, lost, damaged, not for loan, reserved or in transit -- 2.1.4