Bugzilla – Attachment 101558 Details for
Bug 24745
OPAC news block plugin should evaluate as false if there are no items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24745: (follow-up) Correct perl syntax
Bug-24745-follow-up-Correct-perl-syntax.patch (text/plain), 847 bytes, created by
Owen Leonard
on 2020-03-24 12:52:46 UTC
(
hide
)
Description:
Bug 24745: (follow-up) Correct perl syntax
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-03-24 12:52:46 UTC
Size:
847 bytes
patch
obsolete
>From e7298c64785e4be7c56a408193d79337df514142 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <oleonard@myacpl.org> > >-=cut >\ No newline at end of file >+=cut >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24745
:
99708
|
100151
|
100152
|
101558
|
101586
|
101587