* if no priviledge, remove from the list.

This commit is contained in:
wangchunsheng
2011-06-29 01:20:48 +00:00
parent f516d2fb8a
commit 2b8219b5b7
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -263,6 +263,10 @@ class projectModel extends model
$dataXML = $this->report->createSingleXML($this->getBurnData($project->id), $this->lang->project->charts->burn->graph, $this->lang->report->singleColor);
$burns[$project->id] = $this->report->createJSChart('line', $dataXML, 'auto', 210);
}
else
{
unset($projects[$key]);
}
}
return array('projects' => $projects, 'burns' => $burns);