[Koha-bugs] [Bug 13544] admin/auth_subfields_structure.pl does not compile in older perls

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 20 22:43:12 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13544

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

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

--- Comment #4 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 35419
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35419&action=edit
[SIGNED OFF] Bug 13544: Make it explicit that getauthtypes returns a hash ref

Prior to perl 5.12 keys can only operate on a hash.

Test plan:
With perl 5.10, access to admin/auth_subfields_structure.pl.
Without this patch, you get:
Type of arg 1 to keys must be hash (not subroutine entry) at
/home/koha/src/admin/auth_subfields_structure.pl line 102, near
"getauthtypes)"

Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Confirmed problem and tested patch on a sandbox, signed off locally.

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


More information about the Koha-bugs mailing list