mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Remove entitites to availability reports
This commit is contained in:
parent
dd78326a4c
commit
d39be510cf
@ -344,10 +344,12 @@ function reporting_make_reporting_data(
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'availability_graph':
|
case 'availability_graph':
|
||||||
$report['contents'][] = reporting_availability_graph(
|
$report['contents'][] = io_safe_output(
|
||||||
$report,
|
reporting_availability_graph(
|
||||||
$content,
|
$report,
|
||||||
$pdf
|
$content,
|
||||||
|
$pdf
|
||||||
|
)
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -6398,10 +6400,12 @@ function reporting_availability_graph($report, $content, $pdf=false)
|
|||||||
$edge_interval = 10;
|
$edge_interval = 10;
|
||||||
|
|
||||||
if (empty($content['subitems'])) {
|
if (empty($content['subitems'])) {
|
||||||
$slas = db_get_all_rows_field_filter(
|
$slas = io_safe_output(
|
||||||
'treport_content_sla_combined',
|
db_get_all_rows_field_filter(
|
||||||
'id_report_content',
|
'treport_content_sla_combined',
|
||||||
$content['id_rc']
|
'id_report_content',
|
||||||
|
$content['id_rc']
|
||||||
|
)
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$slas = $content['subitems'];
|
$slas = $content['subitems'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user