From df3d33e91fa04e8e224e5b6d7d3287cfe5df375c Mon Sep 17 00:00:00 2001 From: dingna Date: Mon, 13 Sep 2021 16:56:52 +0800 Subject: [PATCH] * Fix bug #14930. --- module/execution/view/executionkanban.html.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/module/execution/view/executionkanban.html.php b/module/execution/view/executionkanban.html.php index ce925b76b9..9090d1e90c 100644 --- a/module/execution/view/executionkanban.html.php +++ b/module/execution/view/executionkanban.html.php @@ -52,13 +52,15 @@
project) . ' / ' . $execution->name : $execution->name; + if(common::hasPriv('execution', 'task')) { - echo html::a($this->createLink('execution', 'task', "executionID=$execution->id"), $execution->name, '', "title='{$execution->name}'"); + echo html::a($this->createLink('execution', 'task', "executionID=$execution->id"), $executionName, '', "title='{$executionName}'"); } else { - echo "{$execution->name}"; + echo "{$executionName}"; } ?>