diff --git a/includes/menu.inc b/includes/menu.inc index f94968943c26770131ff6592ab5c0a2e4e8e2c36..5e5abaffcd426540d34e27aeb12f1ce0f89bdc22 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -961,7 +961,7 @@ function menu_tree_output($tree) { $build['#sorted'] = TRUE; // Add the theme wrapper for outer markup. // Allow menu-specific theme overrides. - $build['#theme_wrappers'][] = 'menu_tree__' . $data['link']['menu_name']; + $build['#theme_wrappers'][] = 'menu_tree__' . strtr($data['link']['menu_name'], '-', '_'); } return $build;