fixed error

This commit is contained in:
marcos 2020-02-21 14:53:48 +01:00
parent f25aacf108
commit dcce09befd
1 changed files with 0 additions and 8 deletions

View File

@ -31,14 +31,6 @@ function reporting_xml_get_report($report, $filename, $return=false)
unset($report['private']);
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.
$report = io_safe_output($report);