From fe8d8166e94c7e375d98ca614e77e7f2659a5200 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Thu, 9 Dec 2021 11:19:25 +0800 Subject: [PATCH] *Finish task #45545. --- module/story/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/control.php b/module/story/control.php index e22521f84c..b69f928d03 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -670,7 +670,7 @@ class story extends control if($this->app->tab == 'project' or $this->app->tab == 'execution') { $objectID = $this->app->tab == 'project' ? $this->session->project : $this->session->execution; - $productBranches = $product->type != 'normal' ? $this->loadModel('execution')->getBranchByProduct($story->product, $objectID, '') : array(); + $productBranches = $product->type != 'normal' ? $this->loadModel('execution')->getBranchByProduct($story->product, $objectID, 'all') : array(); $branches = isset($productBranches[$story->product]) ? array(BRANCH_MAIN => $this->lang->branch->main) + $productBranches[$story->product] : array(); $products = $this->product->getProductPairsByProject($objectID);