mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-4239-entities-en-exportacion-de-informes-nodo-meta' into 'develop'
Removed entitites See merge request artica/pandorafms!2519
This commit is contained in:
commit
568b869681
@ -3081,8 +3081,6 @@ function array2XML($data, $root=null, $xml=null)
|
|||||||
$node = $xml->addChild($key);
|
$node = $xml->addChild($key);
|
||||||
array2XML($value, $root, $node);
|
array2XML($value, $root, $node);
|
||||||
} else {
|
} else {
|
||||||
$value = htmlentities($value);
|
|
||||||
|
|
||||||
if (!is_numeric($value) && !is_bool($value)) {
|
if (!is_numeric($value) && !is_bool($value)) {
|
||||||
if (!empty($value)) {
|
if (!empty($value)) {
|
||||||
$xml->addChild($key, $value);
|
$xml->addChild($key, $value);
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -31,14 +31,6 @@ function reporting_xml_get_report($report, $filename, $return=false)
|
|||||||
unset($report['private']);
|
unset($report['private']);
|
||||||
unset($report['custom_logo']);
|
unset($report['custom_logo']);
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
// change agent name.
|
|
||||||
if (count($report['contents']) > 0) {
|
|
||||||
for ($i = 0; $i < count($report['contents']); $i++) {
|
|
||||||
$aux = explode('-', $report['contents'][$i]['subtitle']);
|
|
||||||
$report['contents'][$i]['subtitle'] = db_get_value('alias', 'tagente', 'nombre', $report['contents'][$i]['agent_name']).' -'.$aux[1];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Remove entities.
|
// Remove entities.
|
||||||
$report = io_safe_output($report);
|
$report = io_safe_output($report);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user