[Koha-bugs] [Bug 12476] New: GetMember should probably take a hashref rather than a hash as a parameter
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 25 03:53:46 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12476
Bug ID: 12476
Summary: GetMember should probably take a hashref rather than a
hash as a parameter
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: dcook at prosentient.com.au
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
I'm not a Perl expert, but we usually use hashrefs for parameters rather than
hashes (and Google wisdom says that hashrefs are faster and more flexible than
hashes).
GetMember currently takes a hash but it would probably be an idea to use a
hashref instead. Of course, we use GetMember in quite a few places already so
it wouldn't be a trivial change, and it might be a case of over optimisation.
Worth reporting in any case though.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list