#12530 Validation is added to the SLA report, the data of the SLA report item is not painted if the agent is not informed

This commit is contained in:
Jorge Rincon 2023-11-30 15:24:34 +01:00
parent 6cde922505
commit 741c8d40b3
1 changed files with 1 additions and 1 deletions

View File

@ -1275,7 +1275,7 @@ function reporting_html_SLA($table, $item, $mini, $pdf=0)
$table3->headstyle[5] = 'text-align: right';
foreach ($item['data'] as $sla) {
if (isset($sla) === true) {
if (isset($sla) === true && empty($sla['agent']) === false) {
// First_table.
$row = [];
$row[] = $sla['agent'];