Merge branch 'zentaopms_263_bug#30045' into 'master'

* Fix bug #30045.

See merge request easycorp/zentaopms!6308
This commit is contained in:
王怡栋
2022-11-23 01:54:26 +00:00
+1
View File
@@ -2030,6 +2030,7 @@ class project extends control
$executionIdList = $this->loadModel('execution')->getPairs($projectID);
/* Delete shadow product.*/
$project = $this->project->getByID($projectID);
if(!$project->hasProduct)
{
$productID = $this->loadModel('product')->getProductIDByProject($projectID);