mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
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:
parent
e9432c8a00
commit
fea1a0f4e5
@ -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>
|
2012-11-01 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
* include/help/ja/help_alert_fields_description.php,
|
* include/help/ja/help_alert_fields_description.php,
|
||||||
|
@ -74,7 +74,10 @@ function write_xml_file_agent_data ($agent_data = array(), $file_temp) {
|
|||||||
|
|
||||||
if ($custom_fields !== false) {
|
if ($custom_fields !== false) {
|
||||||
foreach ($custom_fields as $field) {
|
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";
|
$content_report .= " <os_type>".$agent_data['id_os']."</os_type>\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user