Merge branch 'sprint/zentaopms256_lanzongjun' into 'zentaopms_256'

* Finish Task #77806

See merge request easycorp/zentaopms!6418
This commit is contained in:
兰宗俊
2022-11-30 08:00:42 +00:00
+1 -1
View File
@@ -1048,7 +1048,7 @@ class product extends control
$multiple = strpos($param, 'multiple') === false ? '' : 'multiple';
$output = html::select($field, $plans, $planID, "class='form-control chosen' $multiple");
if($branch == 0 and strpos($param, 'edit')) $output = html::select($field, $plans, $planID, "class='form-control chosen' multiple");
if($branch == 0 and strpos($param, 'edit') and !strpos($param, 'forstory')) $output = html::select($field, $plans, $planID, "class='form-control chosen' multiple");
if(count($plans) == 1 and $needCreate and $needCreate !== 'false')
{