From d1346511be199b892fc3e98eef66b19399e4d975 Mon Sep 17 00:00:00 2001 From: wangyuting2 <851424971@qq.com> Date: Mon, 17 Oct 2022 07:37:21 +0000 Subject: [PATCH] * Finish task #72259 and bug #28498. --- module/execution/view/kanban.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/view/kanban.html.php b/module/execution/view/kanban.html.php index f46f363bc3..6fef0bb1ff 100644 --- a/module/execution/view/kanban.html.php +++ b/module/execution/view/kanban.html.php @@ -70,7 +70,7 @@ $canCreateTask = common::hasPriv('task', 'create'); $canBatchCreateTask = common::hasPriv('task', 'batchCreate'); $canImportTask = common::hasPriv('execution', 'importTask'); $canCreateBug = ($productID and common::hasPriv('bug', 'create')); -$canBatchCreateBug = ($productID and common::hasPriv('bug', 'batchCreate')); +$canBatchCreateBug = ($productID and common::hasPriv('bug', 'batchCreate') && $execution->multiple); $canImportBug = ($productID and common::hasPriv('execution', 'importBug')); $canCreateStory = ($productID and common::hasPriv('story', 'create')); $canBatchCreateStory = ($productID and common::hasPriv('story', 'batchCreate'));