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

--- Comment #10 from Marcel de Rooy <[email protected]> ---
Created attachment 83168
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83168&action=edit
Bug 21605: (follow-up) Simple ternary boolean to number conversion

Imo it is much easier to do just "$a ? 1 : 0" than testing defined($a) etc.
in the additional loop.
Less code, more readable?

Signed-off-by: Marcel de Rooy <[email protected]>

-- 
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