From afd2098f3c82812af7ab7366035e18b953662dab Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Fri, 4 Nov 2011 23:28:31 -0400 Subject: [PATCH] Bug 7160: paying fines throws error The call to ReturnLostItem in C4/Accounts was not properly namespaced to come from C4::Circulation. That prefix is added to the call. To test: Pay a fine, and confirm the error disappears (and the fines is still paid) Signed-off-by: Brendan Signed-off-by: Paul Poulain --- C4/Accounts.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Accounts.pm b/C4/Accounts.pm index 860e187f67..e822b6a073 100644 --- a/C4/Accounts.pm +++ b/C4/Accounts.pm @@ -217,7 +217,7 @@ sub makepayment { #check to see what accounttype if ( $data->{'accounttype'} eq 'Rep' || $data->{'accounttype'} eq 'L' ) { - ReturnLostItem( $borrowernumber, $data->{'itemnumber'} ); + C4::Circulation::ReturnLostItem( $borrowernumber, $data->{'itemnumber'} ); } } -- 2.39.5