diff --git a/core/modules/views/views.theme.inc b/core/modules/views/views.theme.inc index 7d5e182..eb3b99c 100644 --- a/core/modules/views/views.theme.inc +++ b/core/modules/views/views.theme.inc @@ -633,7 +633,7 @@ function template_preprocess_views_view_table(&$variables) { if (empty($variables['rows']) && !empty($options['empty_table'])) { $build = $view->display_handler->renderArea('empty'); - $variables['rows'][0]['columns'][0]['content'] = $build; + $variables['rows'][0]['columns'][0]['content'][0]['field_output'] = $build; $variables['rows'][0]['attributes'] = new Attribute(array('class' => 'odd')); // Calculate the amounts of rows with output. $variables['rows'][0]['columns'][0]['attributes'] = new Attribute(array(