@@ -, +, @@ in reconcile_balances.pl cron then delete this borrower --- misc/cronjobs/reconcile_balances.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/misc/cronjobs/reconcile_balances.pl +++ a/misc/cronjobs/reconcile_balances.pl @@ -81,7 +81,8 @@ cronlogaction(); my @patron_ids = map { $_->borrowernumber } Koha::Account::Lines->search( { - amountoutstanding => { '<' => 0 } + amountoutstanding => { '<' => 0 }, + borrowernumber => { '!=' => undef } }, { columns => [ qw/borrowernumber/ ], --