]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 10 Jun 2016 16:35:09 +0000 (16:35 +0000)
commit29e402d398f567e2526c89695384bce7f4e4b737
tree7509cb8ceb48a51d89339bc746a9c9301fb07799
parent7d916c380a03904c47035f189d1ee666f00d9a11
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>
C4/Members/Statistics.pm