Merge branch 'wxp_bug85658_' into 'master'
* Fix bug #85658. See merge request easycorp/zentaopms!7108
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user