Applied D6LTS contrib patch SA-CONTRIB-2017-068
This commit is contained in:
parent
f0c004b427
commit
968046543c
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ function views_ajax() {
|
|||
}
|
||||
// Load the view.
|
||||
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.
|
||||
if (!empty($path)) {
|
||||
|
|
Reference in a new issue