[Koha-bugs] [Bug 29807] Branches template plugin doesn't handle empty lists correctly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 12 07:13:04 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29807
Fridolin Somers <fridolin.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fridolin.somers at biblibre.co
| |m
--- Comment #9 from Fridolin Somers <fridolin.somers at biblibre.com> ---
+ } else {
+ @libraries = Koha::Libraries->search( { pickup_location => 1 }, {
order_by => ['branchname'] } )
+ unless @libraries;
Do we still need "unless @libraries" ?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list