diff --git a/module/product/control.php b/module/product/control.php index 1c605d327e..29b07e967f 100755 --- a/module/product/control.php +++ b/module/product/control.php @@ -250,7 +250,7 @@ class product extends control /* Get stories. */ $projectProducts = array(); - if($isProjectStory and $storyType == 'story') + if($isProjectStory) { $showBranch = $this->loadModel('branch')->showBranch($productID, 0, $projectID); diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index fcb8e10d82..1cf4059e6e 100755 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -73,7 +73,7 @@ js::set('vision', $this->config->vision);
- + hasProduct)):?>
@@ -103,6 +103,12 @@ js::set('vision', $this->config->vision); projectstory->featureBar['story']['linkedExecution']); + unset($lang->projectstory->featureBar['story']['unlinkedExecution']); + } + foreach(customModel::getFeatureMenu($this->app->rawModule, $this->app->rawMethod) as $menuItem) { if(isset($menuItem->hidden)) continue;