Merge branch 'ent-3967-imagen-en-consulta-a-db-interface' into 'develop'

Fix bug on reports db interface query

See merge request artica/pandorafms!2906
This commit is contained in:
vgilc 2020-01-07 10:58:37 +01:00
commit 8ecefd686f
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@ function reporting_xml_get_report($report, $filename, $return=false)
}
}
// Remove entities.
$report = io_safe_output($report);
$xml = null;
$xml = array2XML($report, 'report', $xml);
$xml = preg_replace('/(<[^>]+>)(<[^>]+>)(<[^>]+>)/', "$1\n$2\n$3", $xml);