Bug 21890: (QA follow-up) Use List::Util::any
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 1 Apr 2019 17:46:21 +0000 (18:46 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 12 Apr 2019 02:32:04 +0000 (02:32 +0000)
commit6388ffd7025290b1ca3e4c9b7a1ae67dfb63ed72
tree6f0e28488aa3b5edff404f5343ee25b77dd515e5
parent0059dc5a4041f13db11689f9df1bc6475ab45172
Bug 21890: (QA follow-up) Use List::Util::any

When possible it's a good idea to use `any` from List::Util to shortcut
on the first occurence of a truthy value.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Template/Plugin/Categories.pm
opac/opac-password-recovery.pl