From 881a6e8ec54ec70e83a3fbf8d572f79fbaab016b Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 1 Sep 2021 16:48:30 +0800 Subject: [PATCH] * Fix bug #14162. --- module/action/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/action/model.php b/module/action/model.php index 03821413ed..8b2ebe5258 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -1195,6 +1195,8 @@ class actionModel extends model if($action->execution) $action->objectLink = helper::createLink('execution', 'team', 'executionID=' . $action->execution); } + if($action->objectType == 'stakeholder' and $action->project == 0) $action->objectLink = ''; + return $action; }