Bug 22563: Be more descriptive with accountypes
[koha.git] / C4 / Accounts.pm
index f7950e1..4c01194 100644 (file)
@@ -91,7 +91,7 @@ sub chargelostitem{
     my $existing_charges = $account->lines->search(
         {
             itemnumber     => $itemnumber,
-            accounttype    => 'L',
+            accounttype    => 'LOST',
         }
     )->count();