From 2f84e17b7e01e46d53b75f30d2fb36f64de97615 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Wed, 13 Mar 2024 14:07:17 +0800 Subject: [PATCH] * Fix executionID bug. bug #46925. --- module/execution/control.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/execution/control.php b/module/execution/control.php index ebada347d9..4e09656f4d 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -126,12 +126,12 @@ class execution extends control $this->session->set('taskList', $this->app->getURI(true), 'execution'); /* Set browse type. */ - $browseType = strtolower($status); - $execution = $this->commonAction($executionID, $status); + $browseType = strtolower($status); + $execution = $this->commonAction($executionID, $status); + $executionID = $execution->id; if($execution->type == 'kanban' && $this->config->vision != 'lite' && $this->app->getViewType() != 'json') $this->locate($this->createLink('execution', 'kanban', "executionID=$executionID")); /* Save the recently five executions visited in the cookie. */ - $executionID = $execution->id; $this->executionZen->setRecentExecutions($executionID); /* Append id for second sort and process the order by field. */