diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index 741598ef31f2406509cc2f7c07e19c90b0140fb7..c99444b1a536acb59460697f648cc20065e6541a 100644 (file)
$attr = "";
foreach($data as $key => $value){
+ $key = strtolower($key);
if(is_array($value)){
foreach($value as $sub_value){
$attr.= "<$key>".strtolower($sub_value)."</$key>\n";
trigger_error("Invalid configuration attribute given '".$key."=".$value."'.");
return($ret);
}
+ $key = strtolower($key);
if(is_array($value)){
foreach($value as $val){
$attrs.= "<$key>$val</$key>\n";
trigger_error("Invalid policy configuration attribute given '".$id."=".$value."'.");
return($ret);
}
+ $id = strtolower($id);
$attrs.= "<$id>$value</$id>\n";
}
trigger_error("Invalid policy configuration attribute given '".$id."=".$value."'.");
return($ret);
}
+ $id = strtolower($id);
$attrs.= "<$id>$value</$id>\n";
}