Bugzilla – Attachment 9452 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.03 KB, created by
Kyle M Hall
on 2012-05-08 12:23:55 UTC
(
hide
)
Description:
Bug 8035 - bibs with comments show an error in opac
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-05-08 12:23:55 UTC
Size:
1.03 KB
patch
obsolete
>From bc60652c7aeb4f1a19e8028f5d4e6ed82affeb3f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 8 May 2012 08:20:56 -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. > >One line fix, adds 'use C4::Dates qw(format_date);' >to the head of the file. >--- > opac/opac-detail.pl | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index afc9498..e195530 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -44,6 +44,7 @@ use C4::XSLT; > use C4::ShelfBrowser; > use C4::Reserves; > use C4::Charset; >+use C4::Dates qw(format_date); > use MARC::Record; > use MARC::Field; > use List::MoreUtils qw/any none/; >-- >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