From e2c1af5541390e545c68cf36e40bbc199b40e86d Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Wed, 18 Aug 2021 15:12:45 +0800 Subject: [PATCH] * Finish task #41560. --- module/execution/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index 37c8bfade2..2f8baaa21d 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2666,7 +2666,7 @@ class execution extends control if($this->config->systemMode == 'new') { $type = $this->dao->findById($objectID)->from(TABLE_PROJECT)->fetch('type'); - $type = $type == 'project' ? $type : 'execution'; + if($type != 'project') $type = 'execution'; } $users = $this->loadModel('user')->getPairs('nodeleted|noclosed');