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

--- Comment #129 from Jonathan Druart <[email protected]> ---
Created attachment 157741
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157741&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 );

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

Reply via email to