Commit 6a75d4fb authored by azinck's avatar azinck Committed by Mike Keran
Browse files

Issue #2564999 by azinck: theme_select_as_links() sets link class attribute to...

Issue #2564999 by azinck: theme_select_as_links() sets link class attribute to string; should be array
parent 9f3231c1
......@@ -555,7 +555,7 @@ function theme_select_as_links($vars) {
$link_options = array();
// Add "active" class to the currently active filter link.
if (in_array((string) $key, $selected_options)) {
$link_options['attributes'] = array('class' => 'active');
$link_options['attributes'] = array('class' => array('active'));
}
$url = bef_replace_query_string_arg($name, $key, $multiple, FALSE, $path);
$elem['#children'] = l($value, $url, $link_options);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment