Fixed for show better results
This commit is contained in:
parent
efff64c4bf
commit
250a378773
|
@ -2408,8 +2408,8 @@ class AgentWizard extends HTML
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If value comes Null, must return a empty value.
|
// If value comes empty, must return a "Empty" value for view it in console.
|
||||||
$value = ($value ?? '');
|
$value = (empty($value) === true) ? '<i>'.__('Empty').'</i>' : $value;
|
||||||
|
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
@ -3332,7 +3332,7 @@ class AgentWizard extends HTML
|
||||||
} else {
|
} else {
|
||||||
preg_match('/\.\d+$/', $key, $index);
|
preg_match('/\.\d+$/', $key, $index);
|
||||||
$tmp = explode(': ', $oid_unit);
|
$tmp = explode(': ', $oid_unit);
|
||||||
$output[$index[0]] = $tmp[1];
|
$output[$index[0]] = ($tmp[1] ?? '');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue