From e7298c64785e4be7c56a408193d79337df514142 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 24 Mar 2020 12:42:11 +0000 Subject: [PATCH] Bug 24745: (follow-up) Correct perl syntax Subroutine should "return;" instead of "return 0;" --- Koha/Template/Plugin/KohaNews.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Template/Plugin/KohaNews.pm b/Koha/Template/Plugin/KohaNews.pm index 713d07301a..efd08dd52f 100644 --- a/Koha/Template/Plugin/KohaNews.pm +++ b/Koha/Template/Plugin/KohaNews.pm @@ -52,7 +52,7 @@ sub get { blocktitle => $blocktitle }; } else { - return 0; + return; } } @@ -79,4 +79,4 @@ the following TT code: [% KohaNews.get() %] Owen Leonard -=cut \ No newline at end of file +=cut -- 2.11.0