* Finish task #85658.

This commit is contained in:
wangxuepeng
2023-03-01 06:16:25 +00:00
parent 4536dd931d
commit 01cfe5655b

View File

@@ -1035,7 +1035,8 @@ class execution extends control
$execution = $this->commonAction($executionID);
$project = $this->loadModel('project')->getByID($execution->project);
$executionID = $execution->id;
$products = $this->product->getProducts($execution->id);
$products = $this->product->getProducts($execution->id);
if(count($products) === 1) $productID = current($products)->id;
if($execution->hasProduct)
{