[Koha-bugs] [Bug 24266] Noisy error in reconcile_balances.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 19 13:55:05 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24266

--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 96484
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96484&action=edit
Bug 24266: Don't search for patrons if no borrowernumbers

This patch makes the reconcile_balances.pl script skip searching for
patrons from a given borrowernumbers list, if the list is empty.

The code was logically incorrect, and it doesn't break because of a bug
in SQL::Abstract that in recent versions started raising a noisy
warning.

I couldn't reproduce it in koha-testing-docker but it's been found in
the wild. I submit this obvious fix so people having the issue can test
it properly.

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list