Commit 634d308b authored by webchick's avatar webchick
Browse files

#658032 by Arancaytar: Fixed theme_tableselect() does not pass on #attributes key.

parent a1e08d93
......@@ -2388,7 +2388,7 @@ function theme_tableselect($variables) {
$first_col = $element['#js_select'] ? array(theme('table_select_header_cell')) : array('');
$header = array_merge($first_col, $header);
}
return theme('table', array('header' => $header, 'rows' => $rows, 'empty' => $element['#empty']));
return theme('table', array('header' => $header, 'rows' => $rows, 'empty' => $element['#empty'], 'attributes' => $element['#attributes']));
}
/**
......
Markdown is supported
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