@@ -, +, @@ empty, but it would still get appended to the 'renew_outcomes' array which results in some 'dirty' messages in the UI. checkout) Set finesMode = production perl misc/cronjobs/fines.pl -v the following items were paid off, renewal results are displayed below: No title ( ): Not renewed - Unknown error" error message. --- Koha/Account.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Koha/Account.pm +++ a/Koha/Account.pm @@ -203,7 +203,7 @@ sub pay { # If we need to make a note of the item associated with this line, # in order that we can potentially renew it, do so. my $amt = $old_amountoutstanding - $amount_to_pay; - if ($fine->renewable) { + if ( C4::Context->preference('RenewAccruingItemWhenPaid') && $fine->renewable ) { my $outcome = $fine->renew_item; push @{$renew_outcomes}, $outcome; } --