summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d95aed1)
raw | patch | inline | side by side (parent: d95aed1)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Jan 2010 11:52:36 +0000 (11:52 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Jan 2010 11:52:36 +0000 (11:52 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15103 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/opsi_com.pm | patch | blob | history |
index 926e33d3abb7c4b7505f2ef78d7eb8124c365b20..6b9f2b761025b2ab043360734c441354bfd67632 100644 (file)
if (defined $values->{$key}){
$vals= $values->{$key};
}
- $item.= "<$key>$dsc<default>".xml_quote($value)."</default>$vals</$key>";
+ $item.= "<$key>$dsc<current>".xml_quote($value)."</current>$vals</$key>";
$item.= "</item>";
$xml_msg=~ s/<xxx><\/xxx>/$item<xxx><\/xxx>/;
}
# Fetch licensePoolId for productId
my ($res, $err) = &_getLicensePoolId('productId'=>$productId);
if ($err){
- return &_giveErrorFeedback($msg_hash, "cannot fetch licensePoolId for given productId : ".$res, $session_id);
+ my $out_hash = &create_xml_hash("answer_$header", $main::server_address, $source);
+ $out_hash->{result} = [];
+ return ( &create_xml_string($out_hash) );
}
my $licensePoolId = $res; # We assume that there is only one pool for each productID!!!