From 1604b77d0b0fff77abde7a2c697de9e8ad4f82cf Mon Sep 17 00:00:00 2001 From: "shiyangyangwork@yahoo.cn" Date: Thu, 1 Dec 2011 02:31:28 +0000 Subject: [PATCH] * fix a bug for testcase. --- module/testtask/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testtask/control.php b/module/testtask/control.php index 4ef33c3081..b2bc3daf9d 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -407,7 +407,7 @@ class testtask extends control */ public function results($runID, $caseID = 0, $version = 0) { - if($caseID and $version) + if($caseID) { $this->view->case = $this->loadModel('testcase')->getByID($caseID, $version); $this->view->results = $this->testtask->getResults(0, $caseID);