diff --git a/views_content/plugins/content_types/views.inc b/views_content/plugins/content_types/views.inc index c8ad60b8c722739055ba0183f9b465ffb39b00c6..4ce68ee0eec0bf728069c21b05e893c50d85bf67 100644 --- a/views_content/plugins/content_types/views.inc +++ b/views_content/plugins/content_types/views.inc @@ -191,7 +191,7 @@ function views_content_views_content_type_render($subtype, $conf, $panel_args, $ // Only set use_pager if they differ, this way we can avoid overwriting the // pager type that Views uses. - if (!$view->display_handler->set_option('use_pager') || empty($conf['use_pager'])) { + if (!$view->display_handler->get_option('use_pager') || empty($conf['use_pager'])) { $view->display_handler->set_option('use_pager', $conf['use_pager']); } $view->display_handler->set_option('pager_element', $conf['pager_id']); diff --git a/views_content/plugins/content_types/views_panes.inc b/views_content/plugins/content_types/views_panes.inc index a7e91d6c2c4e36fdaeabb7527bcc8affb9f1000c..29e72693a1dd84a6655a100a76630ece6a2f323c 100644 --- a/views_content/plugins/content_types/views_panes.inc +++ b/views_content/plugins/content_types/views_panes.inc @@ -218,7 +218,7 @@ function views_content_views_panes_content_type_render($subtype, $conf, $panel_a if ($allow['use_pager']) { // Only set use_pager if they differ, this way we can avoid overwriting the // pager type that Views uses. - if (!$view->display_handler->set_option('use_pager') || empty($conf['use_pager'])) { + if (!$view->display_handler->get_option('use_pager') || empty($conf['use_pager'])) { $view->display_handler->set_option('use_pager', $conf['use_pager']); } $view->display_handler->set_option('pager_element', $conf['pager_id']);