* Fix bug#21552.

This commit is contained in:
xieqiyu
2022-04-07 13:53:41 +08:00
parent c286e44d55
commit d6ab24caff
+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');