From 7fe992e67432b47d7cbb5d367431a9f6a82c851b Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Wed, 2 Dec 2020 11:29:17 +0800 Subject: [PATCH] * Adjust object type. --- module/tree/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/tree/control.php b/module/tree/control.php index d73521e46a..92d5103ff7 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -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(); }