]> git.koha-community.org Git - koha.git/commit
Bug 9451: Quiet warnings and Plackify borrower_stats.pl
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Tue, 22 Jan 2013 23:40:25 +0000 (18:40 -0500)
committerChris Cormack <chris@bigballofwax.co.nz>
Sat, 9 Feb 2013 00:10:07 +0000 (13:10 +1300)
commitb93c6b0b1f06501d68a8bbb746a7d1871699d571
tree26e7bd2818ffaf3a68cf910cdd96d0b4b101a8de
parent466dd25ad68985653b040105b24cd8ccb9355bd3
Bug 9451: Quiet warnings and Plackify borrower_stats.pl

There are several warnings and one non-Plack-compatible variable in
reports/borrower_stats.pl.

To test:
1) Apply patch
2) Use the borrower report wizard to create a report that includes an
   extended patron attribute.
3) Check the logs, and make sure that you don't see any of the
   following messages:
   Variable "$period" is not available at
     /home/jcamins/kohaclone/reports/borrowers_stats.pl line 265.
   Use of uninitialized value in hash element at
     /home/jcamins/kohaclone/reports/borrowers_stats.pl line 375.
   Use of uninitialized value in hash element at
     /home/jcamins/kohaclone/reports/borrowers_stats.pl line 376.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
reports/borrowers_stats.pl