mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +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;
|
||||
|
||||
case 'availability_graph':
|
||||
$report['contents'][] = reporting_availability_graph(
|
||||
$report,
|
||||
$content,
|
||||
$pdf
|
||||
$report['contents'][] = io_safe_output(
|
||||
reporting_availability_graph(
|
||||
$report,
|
||||
$content,
|
||||
$pdf
|
||||
)
|
||||
);
|
||||
break;
|
||||
|
||||
@ -6398,10 +6400,12 @@ function reporting_availability_graph($report, $content, $pdf=false)
|
||||
$edge_interval = 10;
|
||||
|
||||
if (empty($content['subitems'])) {
|
||||
$slas = db_get_all_rows_field_filter(
|
||||
'treport_content_sla_combined',
|
||||
'id_report_content',
|
||||
$content['id_rc']
|
||||
$slas = io_safe_output(
|
||||
db_get_all_rows_field_filter(
|
||||
'treport_content_sla_combined',
|
||||
'id_report_content',
|
||||
$content['id_rc']
|
||||
)
|
||||
);
|
||||
} else {
|
||||
$slas = $content['subitems'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user