* Fix bug #32202.
This commit is contained in:
@@ -922,7 +922,11 @@ class story extends control
|
||||
$this->view->hiddenParent = true;
|
||||
|
||||
if($project->model !== 'scrum') $this->view->hiddenPlan = true;
|
||||
if(!$project->multiple) $this->view->hiddenPlan = true;
|
||||
if(!$project->multiple)
|
||||
{
|
||||
$this->view->hiddenPlan = true;
|
||||
unset($this->lang->story->stageList[''], $this->lang->story->stageList['wait'], $this->lang->story->stageList['planned']);
|
||||
}
|
||||
if($project->model === 'kanban') $this->view->hiddenURS = true;
|
||||
}
|
||||
|
||||
@@ -952,8 +956,6 @@ class story extends control
|
||||
$branch = $product->type == 'branch' ? ($story->branch > 0 ? $story->branch : '0') : 'all';
|
||||
$productStories = $this->story->getProductStoryPairs($story->product, $branch, 0, 'all', 'id_desc', 0, '', $story->type);
|
||||
|
||||
if(!empty($product->shadow)) unset($this->lang->story->stageList[''], $this->lang->story->stageList['wait'], $this->lang->story->stageList['planned']);
|
||||
|
||||
$this->view->title = $this->lang->story->edit . "STORY" . $this->lang->colon . $this->view->story->title;
|
||||
$this->view->position[] = $this->lang->story->edit;
|
||||
$this->view->story = $story;
|
||||
|
||||
Reference in New Issue
Block a user