Merge branch 'sprint/master_lanzongjun_fixbug' into 'master'

* Fix task #76483

See merge request easycorp/zentaopms!6271
This commit is contained in:
孙广明
2022-11-21 02:59:58 +00:00
+1 -1
View File
@@ -250,7 +250,7 @@ class execution extends control
$this->view->moduleTree = $this->tree->getTaskTreeMenu($executionID, $productID, $startModuleID = 0, array('treeModel', 'createTaskLink'), $extra);
$this->view->memberPairs = $memberPairs;
$this->view->branchGroups = $this->loadModel('branch')->getByProducts(array_keys($products));
$this->view->setModule = true;
$this->view->setModule = !$execution->multiple ? false : true;
$this->view->canBeChanged = common::canModify('execution', $execution); // Determines whether an object is editable.
$this->view->showBranch = $showBranch;
$this->view->projectName = $this->loadModel('project')->getById($execution->project)->name . ' / ' . $execution->name;