Bug 7678: follow-up to pass QA
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 20 Aug 2012 06:57:42 +0000 (08:57 +0200)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Tue, 22 Jan 2013 23:35:07 +0000 (18:35 -0500)
commita08c09884ec8799f2835b6a63ed10833bd927fbf
treefa0e04d4df8500820f9898757f7fda4d0dc2dbb3
parent56878f1453d15459d2f7586e3cc5d390d301692d
Bug 7678: follow-up to pass QA

Check input parameters to avoid SQL injection
Rewrite a for loop for readability

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests pass, perlcritic is unchanged.

Test plan
- Verify ExtendedPatronAttributes hides/shows new patron attribute
  search criteria
- Verify patron attribute show up correctly
  - pull down list for attributes linked to authorized values
  - input field for other attributes
- Verify search works correctly
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
reports/borrowers_stats.pl