Merge branch 'wxp_bug85658_' into 'master'

* Fix bug #85658.

See merge request easycorp/zentaopms!7108
This commit is contained in:
孙广明
2023-03-01 06:33:47 +00:00
+2 -1
View File
@@ -1036,7 +1036,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)
{