From e457d7e08fcae715e37d7258b2a8ff0a195cc989 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Fri, 27 Oct 2023 09:34:58 +0800 Subject: [PATCH] * Change items empty value. --- module/bug/ui/create.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/bug/ui/create.html.php b/module/bug/ui/create.html.php index 70cdffa4f0..3bcf3a42cb 100644 --- a/module/bug/ui/create.html.php +++ b/module/bug/ui/create.html.php @@ -334,7 +334,7 @@ formPanel picker ( set::name('story'), - set::items((empty($bug->stories) ? '' : $bug->stories)), + set::items(empty($bug->stories) ? array() : $bug->stories), set::value($bug->storyID) ) ) @@ -344,7 +344,7 @@ formPanel set::width('1/2'), set::label($lang->bug->task), set::control('picker'), - set::items(''), + set::items(array()), set::name('task'), set::value($bug->taskID) )