diff --git a/module/programplan/view/create.html.php b/module/programplan/view/create.html.php index 07e9ea3ead..3ee5c0c84e 100644 --- a/module/programplan/view/create.html.php +++ b/module/programplan/view/create.html.php @@ -31,8 +31,8 @@ $class = ''; foreach($productList as $key => $product) { - $class = $productID == $key ? 'class="active"' : ''; - echo "
  • " . html::a($this->createLink('programplan', 'create', "projectID=$project->id&productID=$key"), $product) . "
  • "; + $class = $productID == $key ? 'class="active"' : ''; + echo "
  • " . html::a($this->createLink('programplan', 'create', "projectID=$project->id&productID=$key"), $product) . "
  • "; } ?>