From ef60d89f47acfb836186bc08ca945fb26bd00c98 Mon Sep 17 00:00:00 2001 From: daitingting Date: Fri, 18 Nov 2022 02:55:33 +0000 Subject: [PATCH] * Fix bug #29653. --- module/execution/control.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index 6daa846c64..db8593219c 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1608,7 +1608,8 @@ class execution extends control */ public function create($projectID = '', $executionID = 0, $copyExecutionID = '', $planID = 0, $confirm = 'no', $productID = 0, $extra = '') { - if($this->app->tab == 'doc') unset($this->lang->doc->menu->execution['subMenu']); + if($this->app->tab == 'doc') unset($this->lang->doc->menu->execution['subMenu']); + if($this->app->tab == 'project') $this->project->setMenu($projectID); $project = $this->project->getByID($projectID); if(!empty($project) and $project->model == 'kanban')