* Fix bug#27008.
This commit is contained in:
@@ -1517,7 +1517,6 @@ EOF;
|
||||
$this->session->set('designList', $uri, 'project');
|
||||
$this->session->set('productPlanList', $uri, 'product');
|
||||
$this->session->set('releaseList', $uri, 'product');
|
||||
$this->session->set('programList', $uri, 'program');
|
||||
$this->session->set('projectList', $uri, 'project');
|
||||
$this->session->set('executionList', $uri, 'execution');
|
||||
$this->session->set('taskList', $uri, 'execution');
|
||||
|
||||
@@ -196,7 +196,8 @@ class program extends control
|
||||
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
|
||||
|
||||
$this->loadModel('action')->create('program', $programID, 'opened');
|
||||
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'id' => $programID, 'locate' => $this->session->programList));
|
||||
$locateLink = $this->session->programList ? $this->session->programList : $this->createLink('program', 'browse');
|
||||
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'id' => $programID, 'locate' => $locateLink));
|
||||
}
|
||||
|
||||
$extra = str_replace(array(',', ' '), array('&', ''), $extra);
|
||||
|
||||
Reference in New Issue
Block a user