]> git.koha-community.org Git - koha.git/commit
Bug 16443: Make C4::Members::Statistics plack safe
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 May 2016 19:08:53 +0000 (20:08 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Thu, 16 Jun 2016 08:31:37 +0000 (10:31 +0200)
commitbd17c1f8749e97aa773dffe5b5d787c676a5e2f3
tree56291f45b3706adf8028c8722ab571ae646c2d3a
parent207413828318c4515053c7043dadb5ee934f3b2f
Bug 16443: Make C4::Members::Statistics plack safe

If the prefs is updated, the fields won't be.
To make sure we already fetch updated values, we should remove the
package variable and define it in the subroutine.

There is not test plan, just make sure the changes are consistent.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 29e402d398f567e2526c89695384bce7f4e4b737)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 93ffd58fe32dd4e27056f5cebf18b975f3d0624b)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Members/Statistics.pm