From 170fcc2758f122f97bd9debab0bf2f96c42fa086 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 29 Aug 2024 13:42:30 +0800 Subject: [PATCH] * [refac bug #53290] Add empty item. --- module/project/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/project/control.php b/module/project/control.php index 2709361dfe..c88c5e6ea2 100755 --- a/module/project/control.php +++ b/module/project/control.php @@ -1581,7 +1581,7 @@ class project extends control if($pageType == 'old') { $disabled = empty($project->multiple) ? 'disabled' : ''; - return print(html::select('execution', $executions, '', "class='form-control $disabled' $disabled")); + return print(html::select('execution', array(0 => '') + $executions, '', "class='form-control $disabled' $disabled")); } $data = array();