From c5bf8afbc291f23ff8d2bb596c1ef805926566f9 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 12 Jan 2022 15:50:44 +0800 Subject: [PATCH] * Modify the link judgment method. --- module/execution/view/ajaxgetdropmenu.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/execution/view/ajaxgetdropmenu.html.php b/module/execution/view/ajaxgetdropmenu.html.php index 48f728d304..c52d2687f1 100644 --- a/module/execution/view/ajaxgetdropmenu.html.php +++ b/module/execution/view/ajaxgetdropmenu.html.php @@ -75,8 +75,8 @@ foreach($executions as $projectID => $projectExecutions) $selected = $execution->id == $executionID ? 'selected' : ''; if($execution->status != 'done' and $execution->status != 'closed' and ($execution->PM == $this->app->user->account or isset($execution->teams[$this->app->user->account]))) { - $kanbanLink = "/execution-kanban-%s.html"; - $taskLink = "/execution-task-%s.html"; + $kanbanLink = $this->createLink('execution', 'kanban', "executionID=%s"); + $taskLink = $this->createLink('execution', 'task', "executionID=%s"); if($execution->type != 'kanban' and $link == $kanbanLink) $link = $taskLink; if($execution->type == 'kanban' and $link != $kanbanLink) $link = $kanbanLink;