From a4b45ab9ffaa631ec6db22da0e46e4c61c311ed7 Mon Sep 17 00:00:00 2001 From: sunjun Date: Wed, 15 Jun 2022 03:03:28 +0000 Subject: [PATCH] sprint_204_57093 --- module/project/view/view.html.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } } ?>