+ finish the task #569.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user