mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
2010-10-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_inventory.cc: Fixed XML generation for inventory modules. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c1e181cd0f
commit
d8640d3b50
@ -1,3 +1,8 @@
|
|||||||
|
2010-10-04 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* modules/pandora_module_inventory.cc: Fixed XML generation for
|
||||||
|
inventory modules.
|
||||||
|
|
||||||
2010-08-04 Ramon Novoa <rnovoa@artica.es>
|
2010-08-04 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* Makefile.am: Use -static-libstdc++ to remove the dependency on
|
* Makefile.am: Use -static-libstdc++ to remove the dependency on
|
||||||
|
@ -338,18 +338,17 @@ Pandora_Module_Inventory::getXml() {
|
|||||||
module_xml += "]]></type>\n";
|
module_xml += "]]></type>\n";
|
||||||
|
|
||||||
module_xml += "\t\t\t<datalist>\n";
|
module_xml += "\t\t\t<datalist>\n";
|
||||||
} else {
|
}
|
||||||
try {
|
|
||||||
data_clean = strreplace (this->getDataOutput (data),
|
|
||||||
"%", "%%" );
|
|
||||||
} catch (Output_Error e) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
module_xml += "\t\t\t\t<data><![CDATA[";
|
try {
|
||||||
module_xml += data_clean;
|
data_clean = strreplace (this->getDataOutput (data), "%", "%%" );
|
||||||
module_xml += "]]></data>\n";
|
} catch (Output_Error e) {
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module_xml += "\t\t\t\t<data><![CDATA[";
|
||||||
|
module_xml += data_clean;
|
||||||
|
module_xml += "]]></data>\n";
|
||||||
|
|
||||||
prev_module = current_module;
|
prev_module = current_module;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user