[Koha-bugs] [Bug 29898] Overdues.pm line 663, Use of uninitialized value in string eq

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 21 12:14:43 CEST 2022


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

--- Comment #3 from Anke <anke.bruns at gwdg.de> ---
We implemented a solution, replacing line 663 in
/usr/share/koha/lib/C4/Overdues.pm, which originally reads:   

    if ( $branchcodes->[0] eq '' ) {

by:

  if ( !defined ($branchcodes->[0]) || $branchcodes->[0] eq '' ) {

Hope this is useful.

-- 
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