Bug 22563: Be more descriptive with accountypes
[koha.git] / Koha / Account / Line.pm
index 0df5a7e..80582f3 100644 (file)
@@ -226,7 +226,7 @@ sub apply {
             if (   $debit->amountoutstanding == 0
                 && $debit->itemnumber
                 && $debit->accounttype
-                && $debit->accounttype eq 'L' )
+                && $debit->accounttype eq 'LOST' )
             {
                 C4::Circulation::ReturnLostItem( $self->borrowernumber, $debit->itemnumber );
             }