[Koha-bugs] [Bug 21036] Fix a bunch of older warnings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 26 22:29:11 CEST 2019


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

Bouzid Fergani <bouzid.fergani at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78456|0                           |1
        is obsolete|                            |

--- Comment #13 from Bouzid Fergani <bouzid.fergani at inlibro.com> ---
Created attachment 88969
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88969&action=edit
Bug 21036: Remove odd number of elements warnings from AuthoritiesMarc.pm

Like this one (16.11 line number):
Odd number of elements in anonymous hash at C4/AuthoritiesMarc.pm line 1070.

We need to add a scalar to some MARC::Field::subfield calls. In list context
an empty list returned affects the hash built around it.

Test plan:
Could reproduce this warning easily from OPAC authority search.
opac-authorities-home.pl calling BuildSummary.

Signed-off-by: Bouzid Fergani <bouzid.fergani at inlibro.com>

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


More information about the Koha-bugs mailing list