22 Sep
2023
22 Sep
'23
11:40 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31383 --- Comment #78 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 156054 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156054&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). Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.