* [refac bug #53290] Add empty item.

This commit is contained in:
wangyidong
2024-08-29 14:51:01 +08:00
committed by 孙广明
parent 8401d91b98
commit 170fcc2758
+1 -1
View File
@@ -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();