*Fix bug #25759
This commit is contained in:
@@ -30,7 +30,9 @@
|
||||
<?php
|
||||
foreach($productList as $key => $product)
|
||||
{
|
||||
echo "<li>" . html::a($this->createLink('programplan', 'create', "projectID=$project->id&productID=$key"), $product) . "</li>";
|
||||
$class = '';
|
||||
$class = $productID == $key ? 'class="active"' : '';
|
||||
echo "<li $class>" . html::a($this->createLink('programplan', 'create', "projectID=$project->id&productID=$key"), $product) . "</li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user