* hostModel: remove extra parentheses.

This commit is contained in:
liugang
2023-11-14 15:39:28 +08:00
parent da88149e9c
commit 68be9802dd
+1 -1
View File
@@ -383,7 +383,7 @@ class hostModel extends model
if(isset($hostGroups[0]))
{
foreach($hostGroups[0] as $host) $groupTree['children'][] = array('text' => htmlspecialchars($host->name), 'hostid' => $host->id));
foreach($hostGroups[0] as $host) $groupTree['children'][] = array('text' => htmlspecialchars($host->name), 'hostid' => $host->id);
}
$treemap[0] = $groupTree;
}