From d775d8b9762aea7d5232e6bc9887c2ba6cbcc031 Mon Sep 17 00:00:00 2001 From: Yagami Date: Fri, 19 May 2023 09:21:03 +0800 Subject: [PATCH] * Fix bug #35057. --- module/action/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/action/model.php b/module/action/model.php index c85924e24d..806e4ceba7 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -406,7 +406,7 @@ class actionModel extends model $productID = trim($action->product, ','); $name = $project->name; $method = $project->model == 'kanban' ? 'index' : 'view'; - if($name) $action->extra = common::hasPriv('project', $method) ? html::a(helper::createLink('project', $method, "projectID=$action->project"), $name) : $name; + if($name) $action->extra = (common::hasPriv('project', $method) and $this->config->vision != 'or') ? html::a(helper::createLink('project', $method, "projectID=$action->project"), $name) : $name; } elseif($actionName == 'linked2plan') {