From 93e05ff8c7ec7b3fdab4459b1a28ca89ed54227f Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 5 May 2022 14:24:33 +0800 Subject: [PATCH] * Fix bug #22146. --- module/story/control.php | 1 - module/story/view/batchcreate.html.php | 4 ---- 2 files changed, 5 deletions(-) diff --git a/module/story/control.php b/module/story/control.php index 4b6514ed82..fcfcb29835 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -549,7 +549,6 @@ class story extends control foreach(explode(',', $this->config->story->list->customBatchCreateFields) as $field) { if($product->type != 'normal') $customFields[$product->type] = $this->lang->product->branchName[$product->type]; - if(isonlybody() and $field == 'plan') continue; $customFields[$field] = $this->lang->story->$field; } diff --git a/module/story/view/batchcreate.html.php b/module/story/view/batchcreate.html.php index 19525945f6..3b9d1fb6ef 100755 --- a/module/story/view/batchcreate.html.php +++ b/module/story/view/batchcreate.html.php @@ -49,9 +49,7 @@ '>product->branch;?> '>story->module;?> - '>story->plan;?> - type == 'kanban'):?> kanbancard->region;?> kanbancard->lane;?> @@ -80,9 +78,7 @@ '> - ' style='overflow:visible'> - type == 'kanban'):?>