* code for task#1888.

This commit is contained in:
xia0ta0
2014-06-17 15:26:05 +08:00
parent 17838c114a
commit 6696901714
4 changed files with 6 additions and 7 deletions
+3 -2
View File
@@ -213,12 +213,13 @@ class bugModel extends model
/**
* getActiveBugs
*
* @param object $pager
* @param array $products
* @param int $projectID
* @param object $pager
* @access public
* @return array
*/
public function getActiveBugs($pager, $projectID, $products)
public function getActiveBugs($products, $projectID, $pager = null)
{
return $this->dao->select('*')->from(TABLE_BUG)
->where('status')->eq('active')