* adjust code for burn in index of my module.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-10-15 06:41:03 +00:00
parent 0adda2f7d7
commit e0bf062da5

View File

@@ -327,7 +327,7 @@ class projectModel extends model
/* Process the burns. */
$project->burns = array();
$burnData = $this->getBurnData($project->id);
foreach($burnData as $data) $project->burns[] = $data->value;
foreach($burnData as $data) if($data->value != '') $project->burns[] = $data->value;
$stats[] = $project;
/* Process the hours. */