problema gruppo pc
This commit is contained in:
+2
-1
@@ -1198,7 +1198,8 @@ class Server extends CommonDBTM
|
||||
return '';
|
||||
}
|
||||
if (!isset($cache[$id])) {
|
||||
$obj = new $classname();
|
||||
$fqcn = '\\' . ltrim($classname, '\\');
|
||||
$obj = new $fqcn();
|
||||
if ($obj->getFromDB($id)) {
|
||||
$cache[$id] = (string) ($obj->fields['name'] ?? '');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user