* Fix bug.

This commit is contained in:
孙广明
2021-12-02 16:08:43 +08:00
parent e99a81d9ad
commit 6e2f7563df
+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');