[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
Fri Jan 9 16:04:17 CET 2015


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

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 35088
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35088&action=edit
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)"

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


More information about the Koha-bugs mailing list