summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/theme.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index eb0b53ae6..e71c01e30 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -306,9 +306,9 @@ function theme_form_element($title, $value, $description = NULL, $id = NULL) {
* @return a string containing the @a node output.
*/
-function theme_table($header, $rows) {
+function theme_table($header, $rows, $attributes = NULL) {
- $output = "<table>\n";
+ $output = "<table ". drupal_attributes($attributes) .">\n";
/*
** Emit the table header: