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

--- Comment #8 from M. Tompsett <[email protected]> ---
(In reply to Jonathan Druart from comment #7)
> Much more readable (IMO) would have been
>   my @languages = C4::Context->preference($preference_to_check)
>      ? split /,/, C4::Context->preference($preference_to_check)
>      : ()

Perhaps, though double function/method calls are slower. :)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to