Merge branch 'sprint/175_sgm_fixbug' into 'master'

* Fix bug.

See merge request easycorp/zentaopms!751
This commit is contained in:
李玉春
2021-12-02 08:11:37 +00:00
+1 -1
View File
@@ -73,7 +73,7 @@ class executionModel extends model
/* Unset story, bug, build and testtask if type is ops. */
$execution = $this->getByID($executionID);
if($execution and $execution->type == 'stage')
if($execution and $execution->type == 'stage' and $this->config->systemMode == 'new')
{
global $lang;
$this->app->loadLang('project');