* fix bugs.

This commit is contained in:
wangyidong
2015-12-23 09:29:38 +08:00
parent 957111c6f0
commit e45a196b7b
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ class release extends control
{
if(!empty($_POST))
{
$releaseID = $this->release->create($productID);
$releaseID = $this->release->create($productID, $branch);
if(dao::isError()) die(js::error(dao::getError()));
$this->loadModel('action')->create('release', $releaseID, 'opened');
die(js::locate(inlink('view', "releaseID=$releaseID"), 'parent'));