From 682d8504e2e03e1686b7946bf5b444d28112d3d3 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Thu, 15 May 2025 02:52:05 +0000 Subject: [PATCH] * [bug#62569,done,0.2h] fix bug. --- module/project/control.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/project/control.php b/module/project/control.php index 728681ffad..d149e07841 100755 --- a/module/project/control.php +++ b/module/project/control.php @@ -533,8 +533,7 @@ class project extends control if(isInModal()) return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => true, 'closeModal' => true)); - $locateLink = $this->session->projectList && $from != 'view' ? $this->session->projectList : $this->createLink('project', 'view', "projectID=$projectID"); - return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => $locateLink)); + return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => $this->createLink('project', 'view', "projectID=$projectID"))); } $this->projectZen->buildEditForm($projectID, $project, $from, $programID);