Bugzilla – Attachment 4024 Details for
Bug 6290
Fixing uninitialized warnings on homebranch in XSLT.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
patch.txt (text/plain), 908 bytes, created by
Marcel de Rooy
on 2011-05-02 08:00:14 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2011-05-02 08:00:14 UTC
Size:
908 bytes
patch
obsolete
>From bb59cf695dbc90ec75cb6c5318b489633e1f4b52 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 2 May 2011 09:49:49 +0200 >Subject: [PATCH] 6290: Fix warning on XSLT.pm >Content-Type: text/plain; charset="utf-8" > >--- > C4/XSLT.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index 28a70fc..4dafff3 100755 >--- a/C4/XSLT.pm >+++ b/C4/XSLT.pm >@@ -222,7 +222,7 @@ sub buildKohaItemsNamespace { > } else { > $status = "available"; > } >- my $homebranch = xml_escape($branches->{$item->{homebranch}}->{'branchname'}); >+ my $homebranch = $item->{homebranch}? xml_escape($branches->{$item->{homebranch}}->{'branchname'}):''; > my $itemcallnumber = xml_escape($item->{itemcallnumber}); > $xml.= "<item><homebranch>$homebranch</homebranch>". > "<status>$status</status>". >-- >1.6.0.6 >
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 6290
:
4024
|
4097