This commit is contained in:
Yagami
2021-04-06 10:19:30 +08:00
parent b72b709435
commit cdf037df33
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -322,6 +322,7 @@ class product extends control
$methodName = $openApp == 'program'? 'product' : 'browse';
$param = $openApp == 'program' ? "programID=$programID" : "productID=$productID";
$locate = $this->createLink($moduleName, $methodName, $param);
if($openApp == 'doc') $locate = $this->createLink('doc', 'objectLibs', 'type=product');
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $locate));
}
+1 -1
View File
@@ -262,7 +262,7 @@ class project extends control
* @access public
* @return void
*/
public function create($model = 'waterfall', $programID = 0, $copyProjectID = 0)
public function create($model = 'scrum', $programID = 0, $copyProjectID = 0)
{
$this->loadModel('execution');