diff --git a/module/project/view/view.html.php b/module/project/view/view.html.php
index 89a57e8017..80d0cb4b07 100644
--- a/module/project/view/view.html.php
+++ b/module/project/view/view.html.php
@@ -136,15 +136,15 @@
$name)
+ foreach($programList as $id => $name)
{
if($name != $end)
{
- echo common::hasPriv('program', 'product') ? html::a($this->createLink('program', 'product', "programID=$ID"), $name) . '/ ' : $name . '/ ';
+ echo common::hasPriv('program', 'product') ? html::a($this->createLink('program', 'product', "programID=$id"), $name) . '/ ' : $name . '/ ';
}
else
{
- echo common::hasPriv('program', 'product') ? html::a($this->createLink('program', 'product', "programID=$ID"), $name) : $name;
+ echo common::hasPriv('program', 'product') ? html::a($this->createLink('program', 'product', "programID=$id"), $name) : $name;
}
}
?>