[Koha-bugs] [Bug 12198] Guarantor search makes incorrect and unnecessary call to GetMemberIssuesAndFines
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 8 17:45:32 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12198
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #27996|0 |1
is obsolete| |
--- Comment #6 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 28108
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28108&action=edit
Bug 12198: remove unnecessary call to GetMemberIssuesAndFines from guarantor
search
The script members/guarantor_search.pl made the following call:
my ($od,$issue,$fines)=GetMemberIssuesAndFines($results->[$i]{'borrowerid'});
Not only does this call always fail because borrowerid is not a valid
key, but the results are never even used in the template!
Test Plan:
1) Apply this patch
2) Verify the gurantor search works as before,
No changes in behavior should be noted
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list