* exclude suspended project.

This commit is contained in:
zhujinyong
2013-01-17 00:41:43 +00:00
parent d26d99d413
commit 89008a2442
+1 -1
View File
@@ -1170,7 +1170,7 @@ class projectModel extends model
$projects = $this->dao->select('id, name')->from(TABLE_PROJECT)
->where("end >= '$today'")
->orWhere('end')->eq('0000-00-00')
->andWhere('status')->notin('done,suspended')
->fetchPairs();
if(!$projects) return $burns;