*Fix classic mode branch bug.

This commit is contained in:
songchenxuan
2021-12-28 09:56:21 +08:00
parent 4dd72bb56b
commit a5a0848a1c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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), 'noclosed');
$branchGroups = $this->loadModel('branch')->getByProducts(array_keys($products));
if(!$this->isMergeModule($rootID, 'task') or !$products) return $this->getOptionMenu($rootID, 'task', $startModule);