diff options
Diffstat (limited to 'templates/list_header.inc')
-rw-r--r-- | templates/list_header.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/list_header.inc b/templates/list_header.inc index 7be4ca35..32ef6b76 100644 --- a/templates/list_header.inc +++ b/templates/list_header.inc @@ -45,7 +45,7 @@ if ($prev_offset < 0) { $prev_offset = '0'; } $pages = ceil($total_items/$GLOBALS['view']->offset_limit); /* Calculate current page and how many we have on each side */ -$page_data = array(); +$page_data = array('up'=>array(),'down'=>array()); // Can't Divide by 0 if ($GLOBALS['view']->offset > 0) { |