Bugzilla – Attachment 9453 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]
[SIGNED-OFF] Bug 8035 - bibs with comments show an error in opac
SIGNED-OFF-Bug-8035---bibs-with-comments-show-an-e.patch (text/plain), 1.11 KB, created by
Nicole C. Engard
on 2012-05-08 12:35:07 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8035 - bibs with comments show an error in opac
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2012-05-08 12:35:07 UTC
Size:
1.11 KB
patch
obsolete
>From 681840837ce5962c441c72274ee529eb5151fc72 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] [SIGNED-OFF] 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. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >--- > 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.3
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