From 5763f0725f8ecfa3f79364b0699e37ca19761cca Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Wed, 31 Mar 2021 14:48:42 +0800 Subject: [PATCH] * Fix bug #11709. --- module/story/view/zerocase.html.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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'); ?>