[Koha-bugs] [Bug 29484] ListSets doesn't return noSetHierarchy when appropriate

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 2 15:25:33 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29484

--- Comment #9 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #5)
> I will amend the patch with
> -    ) unless scalar @{$sets} > 0;
> +    ) unless @$sets;

Why? I prefer what I wrote and have been adding it all the time. If it makes
more sense to do it your way, we should make sure it is in the guidelines. I
still prefer to have the reader understand we are talking about the list size.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list