Commit 2ddd6bb1 authored by Jax's avatar Jax Committed by tim.plunkett
Browse files

Issue #1677784 by Jax | kenneth.venken: Use $empty=TRUE for the empty area handler render function.

parent ee3765b4
......@@ -72,7 +72,7 @@ function template_preprocess_views_view(&$vars) {
$vars['header'] = $view->display_handler->render_area('header', $empty);
$vars['footer'] = $view->display_handler->render_area('footer', $empty);
if ($empty) {
$vars['empty'] = $view->display_handler->render_area('empty');
$vars['empty'] = $view->display_handler->render_area('empty', $empty);
}
$vars['exposed'] = !empty($view->exposed_widgets) ? $view->exposed_widgets : '';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment