* [misc] optimize code.
This commit is contained in:
@@ -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©ProjectID=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);
|
||||
|
||||
Reference in New Issue
Block a user