diff options
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index c70eb0092..6ca3b477f 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -2043,6 +2043,10 @@ function _theme_table_cell($cell, $header = FALSE) { if (is_array($cell)) { $data = isset($cell['data']) ? $cell['data'] : ''; + // Cell's data property can be a string or a renderable array. + if (is_array($data)) { + $data = drupal_render($data); + } $header |= isset($cell['header']); unset($cell['data']); unset($cell['header']); |