summaryrefslogtreecommitdiffstats
path: root/templates/list_header.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-02 06:52:34 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-02 06:52:34 +0000
commitb909c08509458f4a76ba0ba7922316cd7e55b0d4 (patch)
tree46ebdf016a7664a077deb089103587c04aad60dc /templates/list_header.inc.php
parent1c101a3b347b7240ab08e7ee03ab4c24673e58d8 (diff)
downloadampache-b909c08509458f4a76ba0ba7922316cd7e55b0d4.tar.gz
ampache-b909c08509458f4a76ba0ba7922316cd7e55b0d4.tar.bz2
ampache-b909c08509458f4a76ba0ba7922316cd7e55b0d4.zip
fixed a bug in the numbering, referencing a non-existant value
Diffstat (limited to 'templates/list_header.inc.php')
-rw-r--r--templates/list_header.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/list_header.inc.php b/templates/list_header.inc.php
index 62725752..8146261d 100644
--- a/templates/list_header.inc.php
+++ b/templates/list_header.inc.php
@@ -62,7 +62,7 @@ while ($page > 0) {
if ($i == '15') { $page_data['down'][1] = '...'; $page_data['down'][0] = '0'; break; }
$i++;
$page = $page - 1;
- $page_data['down'][$page] = $page * $GLOBALS['view']->offset_limit;
+ $page_data['down'][$page] = $page * $limit;
} // while page > 0
// Up Next