From 04905ffb9a375ee8350f1322ae5edbd7e8467b76 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Wed, 29 May 2024 14:15:09 +0800 Subject: [PATCH] * [bug#50355,done,0.3h,0h] Fix create kanban task execution field error of kanban story view. --- module/story/ui/view.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/ui/view.html.php b/module/story/ui/view.html.php index 4e368cc4a4..64491aafa3 100644 --- a/module/story/ui/view.html.php +++ b/module/story/ui/view.html.php @@ -197,7 +197,7 @@ foreach($actions as $key => $action) continue; } - if(isset($action['url'])) $actions[$key]['url'] = str_replace(array('{id}', '{type}', '{product}', '{branch}', '{module}', '{execution}'), array($story->id, $story->type, $story->product, $story->branch, $story->module, isset($projectID) ? $projectID : 0), $action['url']); + if(isset($action['url'])) $actions[$key]['url'] = str_replace(array('{id}', '{type}', '{product}', '{branch}', '{module}', '{execution}'), array($story->id, $story->type, $story->product, $story->branch, $story->module, $app->tab == 'project' ? $projectID : $executionID), $action['url']); if(isset($action['items'])) { foreach($action['items'] as $itemKey => $itemAction)