Bugzilla – Attachment 124687 Details for
Bug 28921
Many [WARN] Argument "" isn't numeric in numeric gt (>) at /home/koha/src/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc line 23.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28921: Remove warning from html_helpers.inc
Bug-28921-Remove-warning-from-htmlhelpersinc.patch (text/plain), 1.38 KB, created by
Jonathan Druart
on 2021-09-09 08:53:33 UTC
(
hide
)
Description:
Bug 28921: Remove warning from html_helpers.inc
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-09-09 08:53:33 UTC
Size:
1.38 KB
patch
obsolete
>From ff49d89c57913fe2044be2b0d040d458b74e4d86 Mon Sep 17 00:00:00 2001 >From: Didier Gautheron <didier.gautheron@biblibre.com> >Date: Mon, 30 Aug 2021 16:26:05 +0200 >Subject: [PATCH] Bug 28921: Remove warning from html_helpers.inc > >Argument "" isn't numeric in numeric gt (>) at /home/koha/src/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc line 23. > >To test: >1 - Open OPAC main page >2 - Check opac-error.log or plack-opac-error.log for message as above >3 - Apply patch >4 - Open OPAC main page >5 - Check opac-error.log again, there should be no more warnings > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc >index f2921786970..7a964de5966 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc >@@ -9,7 +9,7 @@ > [% END %] > > [% BLOCK koha_news_block %] >- [% IF ( news.content.count > 0 ) %] >+ [% IF ( news.content && news.content.count > 0 ) %] > <div id="[% news.location | html %]"> > [% FOREACH n IN news.content %] > <div class="[% n.lang | html %]_item"> >-- >2.25.1
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 28921
:
124246
|
124509
|
124543
| 124687