diff --git a/plugins/views_plugin_pager_full.inc b/plugins/views_plugin_pager_full.inc index aedb223..50523ce 100644 --- a/plugins/views_plugin_pager_full.inc +++ b/plugins/views_plugin_pager_full.inc @@ -266,6 +266,13 @@ class views_plugin_pager_full extends views_plugin_pager { } function render($input) { + // Don't render pager if isn't needed. + global $pager_total; + $pager_id = $this->get_pager_id(); + if (!isset($pager_total[$pager_id])) { + return; + } + $pager_theme = views_theme_functions('pager', $this->view, $this->display); // The 0, 1, 3, 4 index are correct. See theme_pager documentation. $tags = array(