Bugzilla – Attachment 4097 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]
Signed off Patch
0001-6290-Fix-warning-on-XSLT.pm.patch (text/plain), 922 bytes, created by
Chris Cormack
on 2011-05-13 07:50:07 UTC
(
hide
)
Description:
Signed off Patch
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-05-13 07:50:07 UTC
Size:
922 bytes
patch
obsolete
>From 2aea0aaf60344f661e86b7e2fab649a98fa476b8 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 > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > 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.7.2.2 >
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