diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 9ea8f05..1cc9e6d 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -901,10 +901,6 @@ function template_preprocess_table(&$variables) { } } - if (is_array($cell_content)) { - $cell_content = drupal_render($cell_content); - } - tablesort_header($cell_content, $cell, $variables['header'], $ts); // tablesort_header() removes the 'sort' and 'field' keys. @@ -965,10 +961,6 @@ function template_preprocess_table(&$variables) { unset($cell['header']); $cell_attributes = $cell; - - if (is_array($cell_content)) { - $cell_content = drupal_render($cell_content); - } } // Active table sort information. if (isset($variables['header'][$col_key]['data']) && $variables['header'][$col_key]['data'] == $ts['name'] && !empty($variables['header'][$col_key]['field'])) {