diff --git a/template.php b/template.php index bf9879d..893376d 100644 --- a/template.php +++ b/template.php @@ -153,6 +153,7 @@ function zurb_foundation_links__system_main_menu($vars) { !empty($link['#below']) ? $link['#attributes']['class'][] = 'has-flyout' : ''; // Render top level and make sure we have an actual link if (!empty($link['#href'])) { + $link_attr = ''; // Don't nuke attributes added by other modules !empty($link['#localized_options']['attributes']) ? $link_attr = $link['#localized_options']['attributes'] : '';