]> git.koha-community.org Git - koha.git/commit
Bug 24745: (follow-up) Correct return statement in news plugin
authorOwen Leonard <oleonard@myacpl.org>
Tue, 24 Mar 2020 12:42:11 +0000 (12:42 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 25 Mar 2020 09:42:10 +0000 (09:42 +0000)
commit7ce4122131a6c3d7f0fe7c953dc95fd5d831bf7f
treeb2d9fe28ebee2952d5a6f47d96691396148f160a
parentb1523255a8c53d50175ac55f94330995663e6937
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@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Template/Plugin/KohaNews.pm