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 <brendan@bywatersolutions.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
04f8dfec9b
commit
afd2098f3c
1 changed files with 1 additions and 1 deletions
|
@ -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'} );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue