aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-10 03:26:21 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-10 03:26:21 -0700
commit970a2d4f1ef03f696a5b321bf0d7034d9e8cfe3f (patch)
treeaa6d8c430749e0e902099d6eca64b08660ed0441 /boot.php
parenta4850cb3d7886db727b4c98a98a94c51f008526f (diff)
downloadvolse-hubzilla-970a2d4f1ef03f696a5b321bf0d7034d9e8cfe3f.tar.gz
volse-hubzilla-970a2d4f1ef03f696a5b321bf0d7034d9e8cfe3f.tar.bz2
volse-hubzilla-970a2d4f1ef03f696a5b321bf0d7034d9e8cfe3f.zip
...
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 6607c737e..9dce8689e 100644
--- a/boot.php
+++ b/boot.php
@@ -399,7 +399,7 @@ function paginate(&$a) {
}
for($i = $numstart; $i <= $numstop; $i++){
- if($i == $pagenum)
+ if($i == $a->pager['page'])
$o .= '<span class="pager_current">'.(($i < 10) ? '&nbsp;'.$i : $i);
else
$o .= "<span class=\"pager_n\"><a href=\"$url"."&page=$i\">".(($i < 10) ? '&nbsp;'.$i : $i)."</a>";