Merge branch 'master_bug_30389' into 'master'

* Fix bug #30389.

See merge request easycorp/zentaopms!6787
This commit is contained in:
王怡栋
2023-01-29 05:08:18 +00:00
+1
View File
@@ -2044,6 +2044,7 @@ class project extends control
/* Delete the execution under the project. */
$executionIdList = $this->loadModel('execution')->getPairs($projectID);
$this->dao->update(TABLE_BUG)->set('execution')->eq(0)->where('execution')->in(array_keys($executionIdList))->exec();
/* Delete shadow product.*/
$project = $this->project->getByID($projectID);