Merge branch 'master_xieqiyu_21552' into 'master'

* Fix bug#21552.

See merge request easycorp/zentaopms!2789
This commit is contained in:
孙广明
2022-04-07 06:42:19 +00:00
+1
View File
@@ -1326,6 +1326,7 @@ class execution extends control
$acl = $copyExecution->acl;
$whitelist = $copyExecution->whitelist;
$projectID = $copyExecution->project;
$project = $this->project->getByID($projectID);
$products = $this->loadModel('product')->getProducts($copyExecutionID);
$branches = $this->project->getBranchesByProject($copyExecutionID);
$plans = $this->loadModel('productplan')->getGroupByProduct(array_keys($products), 'skipParent|unexpired');