From b0665f61450895b9bc421cf8ec5cdb07debeace1 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 2 Jan 2024 16:37:07 +0800 Subject: [PATCH] * Fix bug #42690. --- module/execution/ui/create.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/ui/create.html.php b/module/execution/ui/create.html.php index e0a7eade3b..06705de07b 100644 --- a/module/execution/ui/create.html.php +++ b/module/execution/ui/create.html.php @@ -99,7 +99,7 @@ if(isset($project->hasProduct) && !empty($project->hasProduct) && $products) else { $plans = !empty($productPlan) ? $productPlan : array(); - $planID = isset($plan) && isset($productPlan[$plan->id]) ? $plan->id : ''; + $planID = isset($plan->id) && isset($productPlan[$plan->id]) ? $plan->id : ''; } $productsBox[] = formRow