Merge branch 'bug_9873' into 3.12-master

This commit is contained in:
Jared Camins-Esakov 2013-03-30 20:37:22 -04:00
commit dc59477bb0
1 changed files with 2 additions and 2 deletions

View File

@ -279,8 +279,8 @@ sub buildKohaItemsNamespace {
$status = "available";
}
my $homebranch = $item->{homebranch}? xml_escape($branches->{$item->{homebranch}}->{'branchname'}):'';
$location = xml_escape($shelflocations->{$item->{location}});
$ccode = xml_escape($ccodes->{$item->{ccode}});
$location = $item->{location}? xml_escape($shelflocations->{$item->{location}}):'';
$ccode = $item->{ccode}? xml_escape($ccodes->{$item->{ccode}}):'';
my $itemcallnumber = xml_escape($item->{itemcallnumber});
$xml.= "<item><homebranch>$homebranch</homebranch>".
"<location>$location</location>".