* Optimize code, remove keys.

This commit is contained in:
liumengyi
2024-01-25 10:14:57 +08:00
parent a4763bfc30
commit fb5afcbc74
+1 -1
View File
@@ -274,7 +274,7 @@ class branch extends control
foreach($branchTagOption as $id => $name)
{
if($id == '') continue;
$items[] = array('text' => $name, 'value' => $id, 'keys' => $name);
$items[] = array('text' => $name, 'value' => $id);
}
if($isTwins == 'yes') return print(html::select("branches[$fieldID]", $branchTagOption, $oldBranch, "onchange='loadBranchRelation(this.value, $fieldID);' class='form-control chosen control-branch'"));