From 7a9afd70529d1442499361d1b14d2c122b032e38 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Thu, 24 Mar 2022 15:39:35 +0800 Subject: [PATCH] *AjaxGetBranches function code format. --- module/branch/control.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/branch/control.php b/module/branch/control.php index f6c04f8425..7ccc3db271 100644 --- a/module/branch/control.php +++ b/module/branch/control.php @@ -256,9 +256,8 @@ class branch extends control * @access public * @return void */ - public function ajaxGetBranches($productID, $oldBranch = 0, $param = '', $projectID = 0) + public function ajaxGetBranches($productID, $oldBranch = 0, $param = 'all', $projectID = 0) { - $param = $param ? $param : 'all'; $product = $this->loadModel('product')->getById($productID); if(empty($product) or $product->type == 'normal') return;