Skip to content
Snippets Groups Projects
Commit e600c28f authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #65854 by m3avrck: fixed invalid class names.

parent 8cd5210f
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -856,7 +856,7 @@ function menu_primary_links($start_level = 1, $pid = 0) { ...@@ -856,7 +856,7 @@ function menu_primary_links($start_level = 1, $pid = 0) {
if ($pid && is_array($menu['visible'][$pid]) && isset($menu['visible'][$pid]['children'])) { if ($pid && is_array($menu['visible'][$pid]) && isset($menu['visible'][$pid]['children'])) {
$count = 1; $count = 1;
foreach ($menu['visible'][$pid]['children'] as $cid) { foreach ($menu['visible'][$pid]['children'] as $cid) {
$index = "$start_level-$count-$pid"; $index = "menu-$start_level-$count-$pid";
if (menu_in_active_trail_in_submenu($cid, $pid)) { if (menu_in_active_trail_in_submenu($cid, $pid)) {
$index .= "-active"; $index .= "-active";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment