Bug 3387 follow-up: fix perlcritic error
This commit is contained in:
parent
6d86d7bef2
commit
f58a6f4e10
|
|
@ -1833,7 +1833,8 @@ sub AddReturn {
|
||||||
|
|
||||||
# find reserves.....
|
# find reserves.....
|
||||||
# if we don't have a reserve with the status W, we launch the Checkreserves routine
|
# 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, undef) = C4::Reserves::CheckReserves( $item->{'itemnumber'} ) unless ( $item->{'wthdrawn'} );
|
||||||
if ($resfound) {
|
if ($resfound) {
|
||||||
$resrec->{'ResFound'} = $resfound;
|
$resrec->{'ResFound'} = $resfound;
|
||||||
$messages->{'ResFound'} = $resrec;
|
$messages->{'ResFound'} = $resrec;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue