From eb8300049fa86e47c8708b647b8f9c86c84a71dd Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 8 Nov 2021 15:07:05 +0800 Subject: [PATCH] * Fix bug. --- module/productplan/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/productplan/control.php b/module/productplan/control.php index 68ebf9bbad..85d7dc1c2f 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -413,7 +413,7 @@ class productplan extends control else { $this->config->product->search['fields']['branch'] = $this->lang->product->branch; - $branches = array('' => '', $this->loadModel('branch')->getPairs($plan->product); + $branches = array('' => '') + $this->loadModel('branch')->getPairs($plan->product); if($plan->branch) $branches = array('' => '', $plan->branch => $branches[$plan->branch]); $this->config->product->search['params']['branch']['values'] = $branches; }