diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 794e8db..9a12185 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -1691,6 +1691,10 @@ function theme_links($variables) { $class[] = 'last'; } + $link += array( + 'href' => NULL, + ); + // Handle links. if (isset($link['href']) || isset($link['route_name'])) { $is_current_path = ($link['href'] == current_path() || ($link['href'] == '' && drupal_is_front_page()));