diff --git a/core/modules/views/views.theme.inc b/core/modules/views/views.theme.inc index 90cc1eb..23f0c74 100644 --- a/core/modules/views/views.theme.inc +++ b/core/modules/views/views.theme.inc @@ -1045,7 +1045,6 @@ function template_preprocess_views_mini_pager(&$vars) { $tags = $vars['tags']; $element = $vars['element']; $parameters = $vars['parameters']; - $quantity = $vars['quantity']; // current is the page we are currently paged to $pager_current = $pager_page_array[$element] + 1; @@ -1077,6 +1076,7 @@ function template_preprocess_views_mini_pager(&$vars) { ); } + $items = array(); $items[] = array( '#wrapper_attributes' => array('class' => array('pager-previous')), ) + $li_previous; @@ -1093,10 +1093,10 @@ function template_preprocess_views_mini_pager(&$vars) { $vars['items'] = $items; $vars['pager'] = array( '#theme' => 'item_list', - 'items' => $items, - 'title' => NULL, - 'type' => 'ul', - 'attributes' => array('class' => array('pager')), + '#items' => $items, + '#title' => NULL, + '#type' => 'ul', + '#attributes' => array('class' => array('pager')), ); }