diff --git a/C4/Accounts.pm b/C4/Accounts.pm index 84ebbcd225..e5b7c441d8 100644 --- a/C4/Accounts.pm +++ b/C4/Accounts.pm @@ -71,7 +71,7 @@ sub chargelostitem { my $dbh = C4::Context->dbh(); my ($borrowernumber, $itemnumber, $amount, $description) = @_; my $item = Koha::Items->find($itemnumber); - my $itype = Koha::ItemTypes->find({ itemtype => $item->effective_itemtype() }); + my $itype = $item->itemtype; my $replacementprice = $amount; my $defaultreplacecost = $itype->defaultreplacecost; my $processfee = $itype->processfee;