From 626ff953caf9a0be3537fd32b38a992fc30ae51f Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Tue, 16 Nov 2021 16:47:00 +0800 Subject: [PATCH] * Fix bug 15828 --- module/project/control.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/module/project/control.php b/module/project/control.php index b24dc408f9..2a0613a208 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -1572,7 +1572,14 @@ class project extends control /* Delete the execution under the project. */ $executionIdList = $this->loadModel('execution')->getByProject($projectID); - $url = $this->createLink('program', 'browse'); + if($this->app->tab == 'program') + { + $url = $this->createLink('program', 'browse'); + } + else if($this->app->tab == 'project') + { + $url = $this->createLink('project', 'browse'); + } if(empty($executionIdList)) {