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);