Bug 25723: Use a hasref for lookup
commit955a5d77d0793cfbad950ac917beda5a2a9afe84
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 12 Jun 2020 15:30:28 +0000 (12 16:30 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 27 Jul 2020 17:39:07 +0000 (27 17:39 +0000)
tree6acab944b497ee0a5cfc0fcac13ee2c4e0f28cef
parent384df874d8e7e55165bd7e280b8e1c956977ee7b
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>
(cherry picked from commit e1dfe50522a01a7640fcca6e2a015206939579c9)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/Calendar.pm