diff --git a/module/execution/view/view.html.php b/module/execution/view/view.html.php index 0768f28b86..b038f47f7c 100644 --- a/module/execution/view/view.html.php +++ b/module/execution/view/view.html.php @@ -191,11 +191,11 @@ { if($name != $end) { - echo html::a($this->createLink('program', 'product', "programID=$ID"), $name) . '/ '; + echo strpos(",{$app->user->view->programs},", ",$ID,") !== false ? html::a($this->createLink('program', 'product', "programID=$ID"), $name) . '/ ' : $name . '/ '; } else { - echo html::a($this->createLink('program', 'product', "programID=$ID"), $name); + echo strpos(",{$app->user->view->programs},", ",$ID,") !== false ? html::a($this->createLink('program', 'product', "programID=$ID"), $name) : $name; } } ?> @@ -214,7 +214,7 @@