* Fix error of host module.

This commit is contained in:
zhaoke
2023-08-01 11:10:00 +08:00
parent b550ee21c9
commit 211f1cb427
9 changed files with 158 additions and 1 deletions
+12
View File
@@ -302,6 +302,18 @@ class tree extends control
$this->view->root = $root;
}
}
elseif(strpos($viewType, 'host') !== false)
{
$position = array();
$title = $this->lang->tree->groupMaintenance;
$root = new stdclass();
$root->id = 0;
$root->name = $this->lang->tree->groupMaintenance;
$this->view->productID = 0;
$this->view->root = $root;
}
if($this->app->tab == 'project' and strpos($viewType, 'doc') === false)
{