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>
(cherry picked from commit afd2098f3c)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
beede5bf60
commit
665133b10a
|
|
@ -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 New Issue