* fix bug for loophole.
This commit is contained in:
@@ -1307,7 +1307,7 @@ class testcase extends control
|
||||
{
|
||||
$cases = array();
|
||||
$orderBy = " ORDER BY " . str_replace(array('|', '^A', '_'), ' ', $orderBy);
|
||||
$stmt = $this->dbh->query($this->session->testcaseQueryCondition . $orderBy . ($this->post->limit ? ' LIMIT ' . $this->post->limit : ''));
|
||||
$stmt = $this->dao->query($this->session->testcaseQueryCondition . $orderBy . ($this->post->limit ? ' LIMIT ' . $this->post->limit : ''));
|
||||
while($row = $stmt->fetch())
|
||||
{
|
||||
$caseID = isset($row->case) ? $row->case : $row->id;
|
||||
|
||||
Reference in New Issue
Block a user