From fa848a66f05a7bfa7c65b65b78eb9d01e9cd4357 Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Thu, 30 Apr 2009 14:35:10 -0700 Subject: [PATCH] Bug 3179: Typo in C4::Circulation function call causes fatal error Signed-off-by: Galen Charlton --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 210b8ff326..f218a8e7b4 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1561,7 +1561,7 @@ sub AddReturn { ModItemTransfer($iteminformation->{'itemnumber'}, C4::Context->userenv->{'branch'}, $iteminformation->{'homebranch'}); $messages->{'WasTransfered'} = 1; } elsif ( C4::Context->preference("UseBranchTransferLimits") == 1 - && ! IsTransferAllowed( $branch, $iteminformation->{'homebranch'}, $iteminformation->{ C4::Context->preference("BranchTransferLimitsType") } ) + && ! IsBranchTransferAllowed( $branch, $iteminformation->{'homebranch'}, $iteminformation->{ C4::Context->preference("BranchTransferLimitsType") } ) ) { ModItemTransfer($iteminformation->{'itemnumber'}, C4::Context->userenv->{'branch'}, $iteminformation->{'homebranch'}); $messages->{'WasTransfered'} = 1; -- 2.39.5