Applied D6LTS contrib patch SA-CONTRIB-2017-068

This commit is contained in:
Manuel Cillero 2018-05-08 13:28:56 +02:00
parent f0c004b427
commit 968046543c

View file

@ -35,7 +35,7 @@ function views_ajax() {
} }
// Load the view. // Load the view.
if ($view = views_get_view($name)) { if ($view = views_get_view($name)) {
if ($view->access($display_id)) { if ($view->access($display_id) && $view->set_display($display_id) && $view->display_handler->use_ajax()) {
// Fix 'q' for paging. // Fix 'q' for paging.
if (!empty($path)) { if (!empty($path)) {