https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21475
--- Comment #10 from Marcel de Rooy <[email protected]> --- (In reply to Julian Maurice from comment #9) > I think it's odd to return an empty string for what seems to be a boolean > value. I can see that can_article_request and may_article_request do the > same thing so it's consistent. > But why not return simply 0 (as 1 is used for the true value) ? And why q{} > instead of just '' ? Is there some kind of consensus about this that I'm not > aware of ? > (Note that this will not block QA, I'm just curious) Empty string is in perl the default for false (not 0). q{} seems to be preferred above ''. The Koha codebase contains all variations. Nothing important. -- 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/
