[koha-commits] main Koha release repository branch master updated. v16.05.00-922-gf66cc4d

Git repo owner gitmaster at git.koha-community.org
Tue Sep 27 13:08:39 CEST 2016

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  f66cc4dfcca243e6210c3323586efbfbd6cfe0cd (commit)
      from  b1daa66aadead2fb781cd3ba2d71592e73a57ec2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f66cc4dfcca243e6210c3323586efbfbd6cfe0cd
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Sep 13 09:44:41 2016 +0100

    Bug 17294: Make reserves_stats.pl plack safe
    Lot of errors are raised by this script under plack because of var scope
    Variable "$ccodes" is not available at
    /home/koha/src/reports/reserves_stats.pl line 337.
    Variable "$locations" is not available at
    /home/koha/src/reports/reserves_stats.pl line 338.
    Variable "$itemtypes" is not available at
    /home/koha/src/reports/reserves_stats.pl line 339.
    Variable "$Bsort1" is not available at
    /home/koha/src/reports/reserves_stats.pl line 344.
    Variable "$Bsort2" is not available at
    /home/koha/src/reports/reserves_stats.pl line 350.
    Variable "@patron_categories" is not available at
    /home/koha/src/reports/reserves_stats.pl line 356.
    The lazy way to fix that is that reinit them from the subroutines they
    are used.
    Test plan:
    Execute the report, after this patch applied you won't see the error in
    the log.
    Signed-off-by: Marc Véron <veron at veron.ch>
    Signed-off-by: Katrin Fischer  <katrin.fischer at bsz-bw.de>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>


Summary of changes:
 reports/reserves_stats.pl |    7 +++++++
 1 file changed, 7 insertions(+)

main Koha release repository

More information about the koha-commits mailing list