From d28f45b1dcde377de39a918b8ee99d6761ecd2aa Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 12 Oct 2023 08:55:51 +0800 Subject: [PATCH] * The projectID is brought in by default to create execution under the project. --- module/project/ui/execution.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/project/ui/execution.html.php b/module/project/ui/execution.html.php index 19146ac96b..6b61e865ca 100644 --- a/module/project/ui/execution.html.php +++ b/module/project/ui/execution.html.php @@ -111,7 +111,7 @@ featureBar ); /* zin: Define the toolbar on main menu. */ -$createLink = $isStage ? createLink('programplan', 'create', "projectID=$projectID&productID=$productID") : createLink('execution', 'create'); +$createLink = $isStage ? createLink('programplan', 'create', "projectID={$projectID}&productID={$productID}") : createLink('execution', 'create', "projectID={$projectID}"); toolbar ( hasPriv('execution', 'export') ? item(set(array @@ -120,7 +120,7 @@ toolbar 'text' => $lang->programplan->exporting, 'class' => "ghost export", 'data-toggle' => "modal", - 'url' => createLink('execution', 'export', "status=$status&productID=$productID&orderBy=$orderBy&from=project"), + 'url' => createLink('execution', 'export', "status={$status}&productID={$productID}&orderBy={$orderBy}&from=project"), ))) : null, hasPriv('execution', 'create') ? item(set(array (