diff --git a/plugins/views/views_php_plugin_pager.inc b/plugins/views/views_php_plugin_pager.inc index bb7d2d9..4ccdd10 100644 --- a/plugins/views/views_php_plugin_pager.inc +++ b/plugins/views/views_php_plugin_pager.inc @@ -10,7 +10,7 @@ class views_php_plugin_pager extends views_php_plugin_wrapper { /** * Perform any needed actions just prior to the query executing. */ - public function pre_execute($query) { + public function pre_execute(&$query) { $this->wrapped->pre_execute($query); foreach (array(/*'argument',*/ 'field', 'filter', 'sort', /*'relationship'*/) as $type) { @@ -47,7 +47,7 @@ class views_php_plugin_pager extends views_php_plugin_wrapper { } } } - $this->update_wrapped_pager(); + //$this->update_wrapped_pager(); $this->php_unwrap(); }