From 1206a57fbd3798809dc89b4e9cc154eb3603d1a2 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Mon, 13 May 2024 15:47:57 +0800 Subject: [PATCH] * Fix bug #118060. --- module/story/tao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/tao.php b/module/story/tao.php index 6665bb2e42..711b838c05 100644 --- a/module/story/tao.php +++ b/module/story/tao.php @@ -1720,7 +1720,7 @@ class storyTao extends storyModel /* Batch create button. */ $shadow = $this->dao->findByID($story->product)->from(TABLE_PRODUCT)->fetch('shadow'); $canBatchCreateStory = $this->isClickable($story, 'batchcreate'); - if($this->app->rawModule != 'projectstory' || $this->config->vision == 'lite' || $shadow) + if($this->app->rawModule != 'projectstory' || $story->type == 'requirement' || $this->config->vision == 'lite' || $shadow) { if($shadow and empty($taskGroups[$story->id])) $taskGroups[$story->id] = $this->dao->select('id')->from(TABLE_TASK)->where('story')->eq($story->id)->fetch('id');