* Use the function processStatus to get status of a record.
This commit is contained in:
@@ -1213,7 +1213,7 @@ class testtaskModel extends model
|
||||
foreach(explode(',', trim($run->stage, ',')) as $stage) echo $this->lang->testcase->stageList[$stage] . '<br />';
|
||||
break;
|
||||
case 'status':
|
||||
echo ($run->version < $run->caseVersion) ? "<span class='warning'>{$this->lang->testcase->changed}</span>" : $this->lang->testtask->statusList[$run->status];
|
||||
echo ($run->version < $run->caseVersion) ? "<span class='warning'>{$this->lang->testcase->changed}</span>" : $this->processStatus('testtask', $run);
|
||||
break;
|
||||
case 'precondition':
|
||||
echo $run->precondition;
|
||||
|
||||
Reference in New Issue
Block a user