From 1037f1aa821a8ffcd7d2b2d8febd24bb97a48adb Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 21 Mar 2023 03:27:35 +0000 Subject: [PATCH] * Fix bug #33139. --- module/execution/view/story.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/view/story.html.php b/module/execution/view/story.html.php index 8412190f4c..d724b16927 100644 --- a/module/execution/view/story.html.php +++ b/module/execution/view/story.html.php @@ -242,7 +242,7 @@ $canBatchClose = common::hasPriv('story', 'batchClose'); $canBatchChangeStage = common::hasPriv('story', 'batchChangeStage'); $canBatchUnlink = common::hasPriv('execution', 'batchUnlinkStory'); - $canBatchToTask = common::hasPriv('story', 'batchToTask', $checkObject); + $canBatchToTask = (common::hasPriv('story', 'batchToTask', $checkObject) and $storyType != 'requirement'); $canBatchAssignTo = common::hasPriv($storyType, 'batchAssignTo'); $canBatchAction = ($canBeChanged and ($canBatchEdit or $canBatchClose or $canBatchChangeStage or $canBatchUnlink or $canBatchToTask or $canBatchAssignTo));