From c5798f8801045f125cbbcb5de4a51320a8fac3fb Mon Sep 17 00:00:00 2001 From: liuhong Date: Fri, 5 May 2023 15:53:03 +0800 Subject: [PATCH] * Adjust code. --- module/project/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/project/control.php b/module/project/control.php index edd4959eda..2c9523bb76 100755 --- a/module/project/control.php +++ b/module/project/control.php @@ -1963,7 +1963,7 @@ class project extends control /* Update linked products. */ $errorTips = $this->projectZen->mergeProducts($projectID, $project, $executionIDs, $postData); - if(!empty($errorTips) return $this->send($errorTips); + if(!empty($errorTips)) return $this->send($errorTips); $locateLink = inLink('manageProducts', "projectID=$projectID"); if($from == 'program') $locateLink = $this->session->projectList;