Bugzilla – Attachment 9059 Details for
Bug 7937
Silence warns in OPAC error log (koha-opac-error_log)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7937: Silence warns in OPAC error log (koha-opac-error_log)
Bug-7937-Silence-warns-in-OPAC-error-log-koha-opac.patch (text/plain), 2.03 KB, created by
Katrin Fischer
on 2012-04-09 21:14:30 UTC
(
hide
)
Description:
Bug 7937: Silence warns in OPAC error log (koha-opac-error_log)
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-04-09 21:14:30 UTC
Size:
2.03 KB
patch
obsolete
>From 7652bc4c64b5fcce38a93f357580139b1f1bfec6 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Mon, 9 Apr 2012 23:11:03 +0200 >Subject: [PATCH] Bug 7937: Silence warns in OPAC error log > (koha-opac-error_log) > >To reproduce: >Access a detail page where at least some items are available and have >no due date. > >Log: >opac-detail.pl: Use of uninitialized value in concatenation (.) or string at >/home/katrin/kohaclone/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >line 657. >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >index 36ef631..e056beb 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >@@ -630,7 +630,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > [% IF ( itemdata_itemnotes ) %]<th id="item_notes">Notes</th>[% END %] > <th id="item_datedue">Date due</th> > </tr></thead> >- <tbody>[% FOREACH ITEM_RESULT IN ITEM_RESULTS %] >+ <tbody>[% FOREACH ITEM_RESULT IN ITEM_RESULTS %] > <tr>[% IF ( item_level_itypes ) %]<td>[% UNLESS ( noItemTypeImages ) %][% IF ( ITEM_RESULT.imageurl ) %]<img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />[% END %][% END %] [% ITEM_RESULT.description %]</td>[% END %] > <td> > [% UNLESS ( singleBranchMode ) %] >@@ -652,7 +652,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > [% IF ( itemdata_copynumber ) %]<td>[% ITEM_RESULT.copynumber %]</td>[% END %] > <td>[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td> > [% IF ( itemdata_itemnotes ) %]<td>[% ITEM_RESULT.itemnotes %]</td>[% END %] >- <td>[% ITEM_RESULT.datedue | $KohaDates %]</td> >+ <td>[% IF ( ITEM_RESULT.datedue ) %][% ITEM_RESULT.datedue | $KohaDates %][% END %]</td> > </tr> > [% END %]</tbody> > </table> >-- >1.7.5.4
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 7937
:
9059
|
9060
|
9061
|
9063
|
9064
|
9065
|
9115
|
9134
|
9135
|
9141
|
9142
|
9143