diff --git a/module/execution/view/kanban.html.php b/module/execution/view/kanban.html.php index 9cdf19f910..c19501951a 100644 --- a/module/execution/view/kanban.html.php +++ b/module/execution/view/kanban.html.php @@ -77,7 +77,7 @@ $hasBugButton = $features['qa'] && ($canCreateBug || $canBatchCreateBug); $canCreateStory = $features['story'] && $productID && common::hasPriv('story', 'create'); $canBatchCreateStory = $features['story'] && $productID && common::hasPriv('story', 'batchCreate'); -$canLinkStory = $features['story'] && $productID && common::hasPriv('execution', 'linkStory') && !empty($execution->hasProduct); +$canLinkStory = $features['story'] && $productID && common::hasPriv('execution', 'linkStory'); $canLinkStoryByPlan = $features['story'] && $productID && common::hasPriv('execution', 'importplanstories') && !empty($project->hasProduct); $hasStoryButton = $features['story'] && ($canCreateStory || $canBatchCreateStory || $canLinkStory || $canLinkStoryByPlan);