6290: Fix warning on XSLT.pm
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
(cherry picked from commit 04e97b57ff)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
06a38274ca
commit
7aeccb7ec2
|
|
@ -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>".
|
||||
|
|
|
|||
Loading…
Reference in New Issue