From b372cd1be2e91a870aedf86e53c4e63e46ad9ca2 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 11 Jan 2024 15:03:36 +0800 Subject: [PATCH] * Fix bug #43517. --- module/execution/ui/kanban.html.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/execution/ui/kanban.html.php b/module/execution/ui/kanban.html.php index 553718c046..70e95f9d7e 100644 --- a/module/execution/ui/kanban.html.php +++ b/module/execution/ui/kanban.html.php @@ -176,6 +176,7 @@ featureBar ); $editModule = $execution->multiple ? 'execution' : 'project'; +$editParams = $execution->multiple ? "executionID={$execution->id}" : "projectID={$execution->project}"; toolbar ( @@ -232,7 +233,7 @@ toolbar array ( 'class' => 'btn ghost btn-default', - 'url' => createLink($editModule, 'edit', "id=$execution->id"), + 'url' => createLink($editModule, 'edit', $editParams), 'icon' => 'edit', 'data-toggle' => 'modal', 'data-size' => 'lg'