diff --git a/module/story/view/zerocase.html.php b/module/story/view/zerocase.html.php index b98156172c..89ab3104f6 100644 --- a/module/story/view/zerocase.html.php +++ b/module/story/view/zerocase.html.php @@ -45,7 +45,9 @@
$story):?> createLink('story', 'view', "storyID=$story->id"); + if($this->app->openApp == 'project') $param = $this->session->project; + if($this->app->openApp == 'execution') $param = $this->session->execution; + $viewLink = $this->createLink('story', 'view', "storyID=$story->id&version=0¶m=$param"); $canView = common::hasPriv('story', 'view'); ?>