Bugzilla – Attachment 9471 Details for
Bug 8035
bibs with comments show an error in opac
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8035 - bibs with comments show an error in opac
Bug-8035---bibs-with-comments-show-an-error-in-opa.patch (text/plain), 1.17 KB, created by
Kyle M Hall
on 2012-05-09 12:40:50 UTC
(
hide
)
Description:
Bug 8035 - bibs with comments show an error in opac
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-05-09 12:40:50 UTC
Size:
1.17 KB
patch
obsolete
>From 35b174dcb3273747b7a28975d97724b601f9e675 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 9 May 2012 08:37:40 -0400 >Subject: [PATCH] Bug 8035 - bibs with comments show an error in opac > >If a record has any approved comments, viewing the record >details in the opac will error out with the following >message: > >Undefined subroutine &main::format_date called at >/home/load02/kohaclone/opac/opac-detail.pl line 654. > >This is caused by a use of C4::Dates::format_date >without adding a use call to the head of the file. > >Removing the call is the only change necessary. The >dates are already being filtered by $KohaDates. >--- > opac/opac-detail.pl | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index afc9498..4d9879a 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -651,7 +651,6 @@ foreach ( @$reviews ) { > } > $_->{userid} = $borrowerData->{'userid'}; > $_->{cardnumber} = $borrowerData->{'cardnumber'}; >- $_->{datereviewed} = format_date($_->{datereviewed}); > > if ($borrowerData->{'borrowernumber'} eq $borrowernumber) { > $_->{your_comment} = 1; >-- >1.7.2.5
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 8035
:
9452
|
9453
| 9471