https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31383
Marcel de Rooy <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #152545|0 |1 is obsolete| | --- Comment #51 from Marcel de Rooy <[email protected]> --- Created attachment 152666 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152666&action=edit Bug 31383: (QA follow-up) Do not return 0 in ->get The last statement evaluated is the if( $content->count ). If that evaluates to false, the false expression value is returned. In this case that is 0. We should just return undef or empty list (scalar/list context). -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
