From 868ee2d3fed87f501216aa282957ef8ed592e0cb Mon Sep 17 00:00:00 2001 From: liuhong Date: Thu, 4 Aug 2022 01:10:28 +0000 Subject: [PATCH] *Fix bug #25759 --- module/programplan/view/create.html.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/programplan/view/create.html.php b/module/programplan/view/create.html.php index 521bfa5d6c..5d2b06a954 100644 --- a/module/programplan/view/create.html.php +++ b/module/programplan/view/create.html.php @@ -30,7 +30,9 @@ $product) { - echo "
  • " . html::a($this->createLink('programplan', 'create', "projectID=$project->id&productID=$key"), $product) . "
  • "; + $class = ''; + $class = $productID == $key ? 'class="active"' : ''; + echo "
  • " . html::a($this->createLink('programplan', 'create', "projectID=$project->id&productID=$key"), $product) . "
  • "; } ?>