Bug 12198: remove unnecessary call to GetMemberIssuesAndFines from guarantor search
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 6 May 2014 16:26:49 +0000 (12:26 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 8 May 2014 16:16:39 +0000 (16:16 +0000)
commit36284b7f5fd6e62f335f159e7776e866957a17bc
treea717dfea1d4abc5dad4838d6f56bdfbad0d255bc
parent88f0735be3fffc86be7875ea908b66d882118f99
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@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
members/guarantor_search.pl