From f9c4e15149d06c3097d91d8d433753600598bf00 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Mon, 14 Mar 2022 02:09:18 +0000 Subject: [PATCH] Fix bug #50416. --- module/task/control.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/module/task/control.php b/module/task/control.php index 6d9b4b1277..6157683d30 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -232,14 +232,7 @@ class task extends control if(!isset($moduleOptionMenu[$task->module])) $task->module = 0; } - /* Fix bug #2737. When moduleID is not story module. */ - $moduleIdList = array(); - if($task->module) - { - $moduleID = $this->tree->getStoryModule($task->module); - $moduleIdList = $this->tree->getAllChildID($moduleID); - } - $stories = $this->story->getExecutionStoryPairs($executionID, 0, 'all', $moduleIdList, 'full', 'unclosed'); + $stories = $this->story->getExecutionStoryPairs($executionID, 0, 'all', '', 'full', 'unclosed'); if($this->config->vision == 'lite') $stories = $stories + array('', '');