mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Remove entities from json reports
This commit is contained in:
parent
f293aa2dc0
commit
dd78326a4c
@ -151,11 +151,13 @@ function reporting_make_reporting_data(
|
|||||||
$contents = $report['contents'];
|
$contents = $report['contents'];
|
||||||
} else {
|
} else {
|
||||||
$report = io_safe_output(db_get_row('treport', 'id_report', $id_report));
|
$report = io_safe_output(db_get_row('treport', 'id_report', $id_report));
|
||||||
$contents = db_get_all_rows_field_filter(
|
$contents = io_safe_output(
|
||||||
'treport_content',
|
db_get_all_rows_field_filter(
|
||||||
'id_report',
|
'treport_content',
|
||||||
$id_report,
|
'id_report',
|
||||||
db_escape_key_identifier('order')
|
$id_report,
|
||||||
|
db_escape_key_identifier('order')
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6073,7 +6075,7 @@ function reporting_advanced_sla(
|
|||||||
|
|
||||||
// SLA.
|
// SLA.
|
||||||
$return['SLA'] = reporting_sla_get_compliance_from_array($return);
|
$return['SLA'] = reporting_sla_get_compliance_from_array($return);
|
||||||
$return['SLA_fixed'] = sla_truncate(
|
$return['sla_fixed'] = sla_truncate(
|
||||||
$return['SLA'],
|
$return['SLA'],
|
||||||
$config['graph_precision']
|
$config['graph_precision']
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user