From c35c8bbcad4ce07a859a05a44ebc10b7cc4ac10c Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 21 Nov 2022 14:20:03 +0800 Subject: [PATCH] * Fix bug#30036. --- module/execution/view/story.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/view/story.html.php b/module/execution/view/story.html.php index 2bb0854b82..c99a6b3aad 100644 --- a/module/execution/view/story.html.php +++ b/module/execution/view/story.html.php @@ -81,7 +81,7 @@ if($productID) common::printIcon('story', 'report', "productID=$productID&branchID=&storyType=$storyType&browseType=$type&moduleID=$param&chartType=pie&projectID=$execution->id", '', 'button', 'bar-chart muted'); common::printLink('story', 'export', "productID=$productID&orderBy=id_desc&executionID=$execution->id&browseType=$type&storyType=$storyType", " " . $lang->story->export, '', "class='btn btn-link export iframe'"); - $canLinkStory = $execution->multiple; + $canLinkStory = ($execution->hasProduct or $execution->multiple); if(common::canModify('execution', $execution)) { $this->lang->story->create = $this->lang->execution->createStory;