[Koha-bugs] [Bug 24745] OPAC news block plugin should evaluate as false if there are no items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 24 15:06:28 CET 2020


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

--- Comment #12 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 101587
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101587&action=edit
Bug 24745: (follow-up) Correct return statement in news plugin

Subroutine should "return;" instead of "return 0;"
We also prevent ProhibitExplicitReturnUndef by not returning "undef"
explicitly.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Commit message edited.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list