Bug 23018: Refunding a lost item fee may trigger error if any fee has been written...
[koha.git] / C4 / Circulation.pm
index 560abc1..59626b4 100644 (file)
@@ -2408,7 +2408,7 @@ sub _FixAccountForLostAndReturned {
     my $accountlines = Koha::Account::Lines->search(
         {
             itemnumber  => $itemnumber,
-            accounttype => { -in => [ 'L', 'W' ] },
+            accounttype => 'L',
         },
         {
             order_by => { -desc => [ 'date', 'accountlines_id' ] }