Bug 25723: Use a hasref for lookup
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 12 Jun 2020 15:30:28 +0000 (16:30 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Jul 2020 15:45:31 +0000 (17:45 +0200)
commite1dfe50522a01a7640fcca6e2a015206939579c9
tree1677e61e214d5b95ec176163e6a41c26f73dc321
parentcd862763c9654ded15c1a7d79fafb2ec73e4f20e
Bug 25723: Use a hasref for lookup

Rather than using an array of dates and iterating them, use a hashref
and do a direct lookup

Signed-off-by: Emma Perks <Emma.Perks2@uhb.nhs.uk>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Calendar.pm