From 58f3293257851db3fc077eb11c5e991dc9fd2b8b Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 14 Dec 2023 17:35:13 +0800 Subject: [PATCH] * Fix bug #41598. --- module/story/config/form.php | 2 +- module/story/ui/change.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/story/config/form.php b/module/story/config/form.php index 0fd0a5359e..efe3618801 100644 --- a/module/story/config/form.php +++ b/module/story/config/form.php @@ -110,7 +110,7 @@ $config->story->form->batchclose['closedReason'] = array('type' => 'string', ' $config->story->form->batchclose['duplicateStory'] = array('type' => 'int', 'required' => false, 'default' => 0); $config->story->form->change = array(); -$config->story->form->change['reviewer'] = array('type' => 'array', 'control' => 'multi-select', 'required' => true, 'default' => '', 'options' => ''); +$config->story->form->change['reviewer'] = array('type' => 'array', 'control' => 'multi-select', 'required' => false, 'default' => '', 'options' => ''); $config->story->form->change['title'] = array('type' => 'string', 'control' => 'text', 'required' => true, 'filter' => 'trim'); $config->story->form->change['color'] = array('type' => 'string', 'control' => 'color', 'required' => false, 'default' => ''); $config->story->form->change['spec'] = array('type' => 'string', 'control' => 'editor', 'required' => false, 'default' => ''); diff --git a/module/story/ui/change.html.php b/module/story/ui/change.html.php index 8b09848e67..e54e56a7e4 100644 --- a/module/story/ui/change.html.php +++ b/module/story/ui/change.html.php @@ -64,7 +64,7 @@ $formItems['reviewer'] = formGroup ) : null, formHidden('needNotReview', $forceReview ? 0 : 1) ), - set::required($fields['reviewer']['required']) + set::required(true) ); $formItems['title'] = formGroup (