Bugzilla – Attachment 9063 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: Fix warns in opac-authoritiesdetail.pl
Bug-7937-Fix-warns-in-opac-authoritiesdetailpl.patch (text/plain), 1.17 KB, created by
Katrin Fischer
on 2012-04-10 00:11:33 UTC
(
hide
)
Description:
Bug 7937: Fix warns in opac-authoritiesdetail.pl
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-04-10 00:11:33 UTC
Size:
1.17 KB
patch
obsolete
>From 32fe63d0ae7e0faeedd67a5fca9007e72a897528 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Tue, 10 Apr 2012 02:01:39 +0200 >Subject: [PATCH] Bug 7937: Fix warns in opac-authoritiesdetail.pl > >[Tue Apr 10 01:51:20 2012] opac-authoritiesdetail.pl: Use of >uninitialized value in concatenation (.) or string line 162 > >Warn is created, when authority record contains a field that does >not exist in the authorities frameworks. >--- > opac/opac-authoritiesdetail.pl | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > >diff --git a/opac/opac-authoritiesdetail.pl b/opac/opac-authoritiesdetail.pl >index 6610dfd..ccd5654 100755 >--- a/opac/opac-authoritiesdetail.pl >+++ b/opac/opac-authoritiesdetail.pl >@@ -163,7 +163,10 @@ foreach my $field (@fields) { > $field->tag() > . ' ' > . C4::Koha::display_marc_indicators($field) >- . ' - ' . $tagslib->{ $field->tag() }->{lib}; >+ . ' - '; >+ if ($tagslib->{ $field->tag() }->{lib}) { >+ $tag_data{tag} .= $tagslib->{ $field->tag() }->{lib}; >+ } > $tag_data{subfield} = \@subfields_data; > push( @loop_data, \%tag_data ); > } >-- >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