* fix bug for 2.2

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-09-23 05:42:46 +00:00
parent 6ba194eac2
commit 8e473d2046
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
</tr>
<?php foreach($projectStats as $project):?>
<tr class='a-center'>
<td class='a-left'><?php echo html::a($this->createLink('project', 'index', 'project=' . $project->id), $project->name);?></td>
<td class='a-left'><?php echo html::a($this->createLink('project', 'task', 'project=' . $project->id), $project->name);?></td>
<td><?php echo $project->end;?></td>
<td><?php echo $project->hours->totalEstimate;?></td>
<td><?php echo $project->hours->totalConsumed;?></td>

View File

@@ -273,7 +273,7 @@ class projectModel extends model
{
$this->loadModel('report');
$projects = $this->getList(',wait, doing');
$projects = $this->getList('wait, doing');
$stats = array();
$i = 1;