From 0c0817ba77515ccc7e867bf9d32b41dae91674fa Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Sat, 29 Oct 2011 12:31:25 +0000 Subject: [PATCH] * fix a bug in testcase/control.php --- module/testcase/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testcase/control.php b/module/testcase/control.php index b676c6b7da..63f364bcd1 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -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');