From 7294ced6f0fd3ece74018cacec8a6af8e3d31f19 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 11 Jul 2008 02:23:08 +0000 Subject: - Patch #280629 by Damien, pwolanin, Susurrus, et al: ensure safe arguments in theme_links(). --- includes/theme.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/theme.inc b/includes/theme.inc index dae26aa94..424cde1c0 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1119,7 +1119,7 @@ function theme_links($links, $attributes = array('class' => 'links')) { if (isset($link['href']) && ($link['href'] == $_GET['q'] || ($link['href'] == '' && drupal_is_front_page()))) { $class .= ' active'; } - $output .= '
  • '; + $output .= ' $class)) . '>'; if (isset($link['href'])) { // Pass in $link as $options, they share the same keys. -- cgit v1.2.3