diff --git a/C4/Accounts.pm b/C4/Accounts.pm index 5f3f06ee0f..cece86c7c4 100644 --- a/C4/Accounts.pm +++ b/C4/Accounts.pm @@ -114,7 +114,7 @@ sub chargelostitem { my $existing_charges = $account->lines->search( { - item_id => $itemnumber, + itemnumber => $itemnumber, debit_type_code => 'LOST', issue_id => $issue_id, }