* fix a bug in testcase/control.php

This commit is contained in:
chencongzhi520@gmail.com
2011-10-29 12:31:25 +00:00
parent 39ea974c85
commit 0c0817ba77
+1 -1
View File
@@ -168,7 +168,7 @@ class testcase extends control
$this->loadModel('story');
if(!empty($_POST))
{
$this->testcase->create($bugID);
$caseID = $this->testcase->create($bugID);
if(dao::isError()) die(js::error(dao::getError()));
$this->loadModel('action');
$this->action->create('case', $caseID, 'Opened');