diff --git a/C4/Accounts.pm b/C4/Accounts.pm index b9c19a4adc..6d8208980b 100644 --- a/C4/Accounts.pm +++ b/C4/Accounts.pm @@ -140,7 +140,7 @@ sub chargelostitem { description => $description, note => $processingfeenote, user_id => C4::Context->userenv ? C4::Context->userenv->{'number'} : undef, - interface => C4::Context->interface, + interface => $interface, library_id => $library_id, type => 'PROCESSING', item_id => $itemnumber, @@ -157,7 +157,7 @@ sub chargelostitem { description => $description, note => undef, user_id => C4::Context->userenv ? C4::Context->userenv->{'number'} : undef, - interface => C4::Context->interface, + interface => $interface, library_id => $library_id, type => 'LOST', item_id => $itemnumber, diff --git a/Koha/Checkout.pm b/Koha/Checkout.pm index 967b199a55..63d657a67e 100644 --- a/Koha/Checkout.pm +++ b/Koha/Checkout.pm @@ -24,7 +24,6 @@ use DateTime; use Try::Tiny qw( catch try ); use C4::Circulation qw( AddRenewal CanBookBeRenewed LostItem MarkIssueReturned ); -use Koha::Checkout; use Koha::Booking; use Koha::Checkouts::Renewals; use Koha::Checkouts::ReturnClaims;