added id to nested group

master
A1Gard 23 hours ago
parent e5765b5339
commit 8fdf482786

@ -431,7 +431,7 @@ function showCatNested($cats, $parent = null)
$ret = "";
foreach ($cats as $cat) {
if ($cat->parent_id == $parent & !$cat->hide) {
$ret .= "<li>";
$ret .= "<li class='category-nested-{$cat->id}'>";
$ret .= "<a href='" . $cat->webUrl() . "'>";
$ret .= $cat->name . '</a>';
$ret .= showCatNested($cats, $cat->id);

Loading…
Cancel
Save