problema gruppo pc

This commit is contained in:
mariano
2026-05-20 14:21:18 +02:00
parent d69c465c92
commit 0e80c1430f
+2 -1
View File
@@ -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 {