From b4d9be74fc935c4c9c2d4dfff4df39dae713a4af Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 22 Feb 2018 14:41:24 -0300 Subject: [PATCH] Bug 20287: Fix export issues in tests t/db_dependent/Holds/RevertWaitingStatus.t .. Undefined subroutine &C4::Circulation::MoveReserve called at /home/vagrant/kohaclone/C4/Circulation.pm line 1316. Signed-off-by: Josef Moravec Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 8e1bdc49fc..a08134d8a4 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1317,7 +1317,7 @@ sub AddIssue { AddReturn( $item->{'barcode'}, C4::Context->userenv->{'branch'} ); } - MoveReserve( $item->{'itemnumber'}, $borrower->{'borrowernumber'}, $cancelreserve ); + C4::Reserves::MoveReserve( $item->{'itemnumber'}, $borrower->{'borrowernumber'}, $cancelreserve ); # Starting process for transfer job (checking transfert and validate it if we have one) my ($datesent) = GetTransfers( $item->{'itemnumber'} ); -- 2.39.5