https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31383 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #157741|0 |1 is obsolete| | --- Comment #131 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 157742 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157742&action=edit Bug 31383: (follow-up) Remove get_opac_news_by_id Keep the same behaviour, but wondering why we don't return 'content' when there is no match. ie. + is( $additional_contents, undef ); should certainly be + is( $additional_contents->{content}->count, 0 ); WNC amended patch - tidied Signed-off-by: Nick Clemens <nick@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.