Fixed for show better results

This commit is contained in:
Jose Gonzalez 2020-12-01 11:52:12 +01:00
parent efff64c4bf
commit 250a378773
1 changed files with 3 additions and 3 deletions

View File

@ -2408,8 +2408,8 @@ class AgentWizard extends HTML
}
}
// If value comes Null, must return a empty value.
$value = ($value ?? '');
// If value comes empty, must return a "Empty" value for view it in console.
$value = (empty($value) === true) ? '<i>'.__('Empty').'</i>' : $value;
return $value;
}
@ -3332,7 +3332,7 @@ class AgentWizard extends HTML
} else {
preg_match('/\.\d+$/', $key, $index);
$tmp = explode(': ', $oid_unit);
$output[$index[0]] = $tmp[1];
$output[$index[0]] = ($tmp[1] ?? '');
}
}
}