From fb5afcbc74f9ed532e42271a55dac232d97f0d54 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 25 Jan 2024 10:14:51 +0800 Subject: [PATCH] * Optimize code, remove keys. --- module/branch/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/branch/control.php b/module/branch/control.php index 294ee410e9..927e334380 100644 --- a/module/branch/control.php +++ b/module/branch/control.php @@ -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'"));