+ finish the task #569.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-10-20 08:57:32 +00:00
parent fe214ceef2
commit bb2323abd3
8 changed files with 194 additions and 3 deletions
+4 -2
View File
@@ -788,7 +788,7 @@ class projectModel extends model
return $sets;
}
public function getBurnDataFlot($projectID = 0, $itemCounts = 20)
public function getBurnDataFlot($projectID = 0, $itemCounts = 30)
{
/* Get project and burn counts. */
$project = $this->getById($projectID);
@@ -828,11 +828,13 @@ class projectModel extends model
$current = $nextDay;
}
}
$count = 0;
foreach($sets as $set)
{
$set->name = (string)strtotime("$set->name UTC") . '000';
$count ++;
}
$sets['count'] = $counts;
$sets['count'] = $count;
return $sets;
}