From a90fc7c4c040dd48f40a8616ca430201aa22b4cf Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Mon, 27 Dec 2021 16:47:44 +0800 Subject: [PATCH] *Fix classic mode branch bug. --- module/tree/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/tree/model.php b/module/tree/model.php index 64aaa9aa32..0a81768db4 100644 --- a/module/tree/model.php +++ b/module/tree/model.php @@ -243,7 +243,7 @@ class treeModel extends model { /* If createdVersion <= 4.1, go to getOptionMenu(). */ $products = $this->loadModel('product')->getProductPairsByProject($rootID); - $branchGroups = $this->loadModel('branch')->getByProducts(array_keys($products)); + $branchGroups = $this->loadModel('branch')->getByProducts(array_keys($products), 'noclosed'); if(!$this->isMergeModule($rootID, 'task') or !$products) return $this->getOptionMenu($rootID, 'task', $startModule);