* init the burns.

This commit is contained in:
wangchunsheng
2009-11-13 01:28:54 +00:00
parent 77ed05fb9f
commit 990fdd45bc

View File

@@ -41,10 +41,8 @@ class index extends control
$projects = $this->project->getList('doing');
$products = array_values($this->product->getList());
foreach($projects as $project)
{
$burns[$project->id] = $this->report->createChart('line', $this->createLink('project', 'burnData', "project=$project->id", 'xml'), 300, 300);
}
$burns = array();
foreach($projects as $project) $burns[$project->id] = $this->report->createChart('line', $this->createLink('project', 'burnData', "project=$project->id", 'xml'), 300, 300);
$this->assign('header', $header);
$this->assign('projects', $projects);