2012-11-02 Vanessa Gil <vanessa.gil@artica.es>

* operation/reporting/reporting_xml.php: Removed html entities.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2012-11-02 11:00:00 +00:00
parent e9432c8a00
commit fea1a0f4e5
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-11-02 Vanessa Gil <vanessa.gil@artica.es>
* operation/reporting/reporting_xml.php: Removed html entities.
2012-11-01 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alert_fields_description.php,

View File

@ -74,7 +74,10 @@ function write_xml_file_agent_data ($agent_data = array(), $file_temp) {
if ($custom_fields !== false) {
foreach ($custom_fields as $field) {
$content_report .= " <".$field['name'].">".$field['description']."<".$field['name'].">\n";
$field['name'] = io_safe_output($field['name']);
//remove blank
$field['name'] = preg_replace('/\s/', '_', $field['name']);
$content_report .= " <".$field['name'].">".$field['description']."</".$field['name'].">\n";
}
}
$content_report .= " <os_type>".$agent_data['id_os']."</os_type>\n";