* Adjust object type.

This commit is contained in:
holan20180123
2020-12-02 11:29:17 +08:00
parent b48f4d444d
commit 7fe992e674
+1 -1
View File
@@ -258,7 +258,7 @@ class tree extends control
$this->view->parentModules = $parentModules;
$this->view->currentModuleID = $currentModuleID;
$this->view->tree = $this->tree->getTaskStructure($rootID, $productID);
$this->view->canBeChanged = common::canModify('product', $product); // Determines whether an object is editable.
$this->view->canBeChanged = common::canModify('project', $project); // Determines whether an object is editable.
$this->display();
}