* Fixed bug #226.

This commit is contained in:
liukmqd@gmail.com
2011-06-27 03:02:21 +00:00
parent d5167372bc
commit 03190c3f86
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ class testtaskModel extends model
public function getRunById($runID)
{
$testRun = $this->dao->findById($runID)->from(TABLE_TESTRUN)->fetch();
$testRun->case = $this->loadModel('testcase')->getById($testRun->case, $testRun->version);
$testRun->case = $this->loadModel('testcase')->getById($testRun->case);
return $testRun;
}