From 6dc51aafc0541377b2e46fa68a1fb5e92c076d2b Mon Sep 17 00:00:00 2001 From: zhouxin Date: Fri, 18 Mar 2022 09:08:48 +0000 Subject: [PATCH] Adjust code. --- module/execution/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index c29b1ea4b6..87e092d329 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1317,7 +1317,7 @@ class execution extends control $this->view->title = $this->lang->execution->tips; $this->view->tips = $this->fetch('execution', 'tips', "executionID=$executionID"); - $this->view->defaultURL = $this->session->closeTipsList; + $this->view->defaultURL = isset($this->session->closeTipsList) ? $this->session->closeTipsList : $this->createLink('execution', 'task', 'executionID=' . $executionID); $this->view->executionID = $executionID; $this->view->projectID = $projectID; $this->view->project = $project;