diff --git a/core/modules/views/theme/theme.inc b/core/modules/views/theme/theme.inc index fb0d84d..8a8e1cb 100644 --- a/core/modules/views/theme/theme.inc +++ b/core/modules/views/theme/theme.inc @@ -100,13 +100,13 @@ function template_preprocess_views_view(&$vars) { $vars['attachment_before'] = $view->attachment_before; } else { - $vars['attachment_before'] = ''; + $vars['attachment_before'] = array(); } if (!empty($view->attachment_after)) { $vars['attachment_after'] = $view->attachment_after; } else { - $vars['attachment_after'] = ''; + $vars['attachment_after'] = array(); } // Add contextual links to the view. We need to attach them to the dummy