* Adjust object type.

This commit is contained in:
holan20180123
2020-12-02 11:30:36 +08:00
parent f841d670dd
commit 6017a4737c
+1 -1
View File
@@ -247,7 +247,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();
}