* [bug#50355,done,0.3h,0h] Fix create kanban task execution field error of kanban story view.

This commit is contained in:
wangyuting
2024-05-30 16:54:06 +08:00
committed by caoyanyi
parent 37143155d3
commit 04905ffb9a
+1 -1
View File
@@ -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)