* fix a bug in testcase/control.php
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user