]> 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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 8 Feb 2013 13:42:32 +0000 (08:42 -0500)
commit651e8a3fad061808b5c16f0197cb2b1c208f085d
treee70ab3bfcac8b1ff848506d4f8fcd6731b2d91a8
parent41679ca080c4ac130dfcdfbbd8dca308e2b622fb
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>
reports/borrowers_stats.pl