* fix bug #544,545.
This commit is contained in:
@@ -133,6 +133,7 @@ class buildModel extends model
|
||||
return $this->dao->select('id, name')->from(TABLE_BUILD)
|
||||
->where('project')->eq((int)$projectID)
|
||||
->orderBy('date DESC')
|
||||
->limit(1)
|
||||
->fetch();
|
||||
}
|
||||
|
||||
|
||||
@@ -65,6 +65,7 @@ class releaseModel extends model
|
||||
return $this->dao->select('id, name')->from(TABLE_RELEASE)
|
||||
->where('product')->eq((int)$productID)
|
||||
->orderBy('date DESC')
|
||||
->limit(1)
|
||||
->fetch();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user