* adjust the code.

This commit is contained in:
chencongzhi520@gmail.com
2011-05-01 11:30:30 +00:00
parent 3223d706d2
commit fe8a3fbc3f
2 changed files with 1 additions and 1 deletions

View File

@@ -165,6 +165,7 @@ class bug extends control
->orderBy($orderBy)->page($pager)->fetchAll();
}
/* save session .*/
$sql = $this->dao->get();
$sql = explode('WHERE', $sql);
$sql = explode('ORDER', $sql[1]);

View File

@@ -131,7 +131,6 @@ class bugModel extends model
return $tmpBugs;
}
/**
* Update a bug.
*