* [misc] optimize code.

This commit is contained in:
liumengyi
2024-12-03 13:25:42 +08:00
committed by 田淑杰
parent a4c38a8883
commit 0c1309154f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ class programplan extends control
$locate = $this->session->projectPlanList ? $this->session->projectPlanList : $this->createLink('project', 'execution', "status=all&projectID={$projectID}&orderBy=order_asc&productID={$productID}");
if($from == 'projectCreate') $locate = $this->createLink('project', 'create', "model=&programID=0&copyProjectID=0&extra=showTips=1,project=$projectID");
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $locate));
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => $locate));
}
$project = $this->project->getById($projectID);