mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
fixed error
This commit is contained in:
parent
f25aacf108
commit
dcce09befd
@ -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