From 51d073a835eba4798a5e9d903badb415122e573b Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 26 Sep 2012 08:20:22 -0400 Subject: [PATCH] Bug 3387 - WITHDRAWN items shouldn't check in - QA Followup Content-Type: text/plain; charset="utf-8" --- C4/Circulation.pm | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index f80f109..c2dbda6 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1833,7 +1833,8 @@ sub AddReturn { # find reserves..... # if we don't have a reserve with the status W, we launch the Checkreserves routine - my ($resfound, $resrec, undef) = C4::Reserves::CheckReserves( $item->{'itemnumber'} ) unless ( $item->{'wthdrawn'} ); + my ( $resfound, $resrec ); + ( $resfound, $resrec ) = C4::Reserves::CheckReserves( $item->{'itemnumber'} ) unless ( $item->{'wthdrawn'} ); if ($resfound) { $resrec->{'ResFound'} = $resfound; $messages->{'ResFound'} = $resrec; -- 1.7.2.5