* fix bug#332.

This commit is contained in:
chencongzhi520@gmail.com
2012-10-29 07:34:36 +00:00
parent d544ef476a
commit b1bde8cac5
4 changed files with 35 additions and 14 deletions
+10 -3
View File
@@ -83,10 +83,17 @@
<th class='rowhead w-p20'><?php echo $lang->task->module;?></th>
<td>
<?php
foreach($modulePath as $key => $module)
if(empty($modulePath))
{
if(!common::printLink('project', 'task', "projectID=$task->project&browseType=byModule&param=$module->id", $module->name)) echo $module->name;
if(isset($modulePath[$key + 1])) echo $lang->arrow;
echo "/";
}
else
{
foreach($modulePath as $key => $module)
{
if(!common::printLink('project', 'task', "projectID=$task->project&browseType=byModule&param=$module->id", $module->name)) echo $module->name;
if(isset($modulePath[$key + 1])) echo $lang->arrow;
}
}
?>
</td>