diff --git a/module/story/control.php b/module/story/control.php index c9e303957f..9f22ffca2d 100755 --- a/module/story/control.php +++ b/module/story/control.php @@ -952,6 +952,8 @@ 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;