From 6e2f7563df14b7dabbaa00248f7000c662b7971f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B9=BF=E6=98=8E?= Date: Thu, 2 Dec 2021 16:08:43 +0800 Subject: [PATCH] * Fix bug. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index d59a6b7c6e..1d2c4dcfb2 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -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');