* fix bug #544,545.

This commit is contained in:
xia0ta0
2013-11-20 15:14:07 +08:00
parent 247ba3e470
commit 659a877b9f
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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();
}
+1
View File
@@ -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();
}