diff options
author | Friendika <info@friendika.com> | 2011-03-27 19:53:36 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-27 19:53:36 -0700 |
commit | c962f5c4bcc26fa7bad98a714cdb5e92b6acb57c (patch) | |
tree | d54c7762d73e123eec96ef89e71946ac1b597fe0 /boot.php | |
parent | 76918ed5a59ac52486531f8bf4efec1180fc9d59 (diff) | |
download | volse-hubzilla-c962f5c4bcc26fa7bad98a714cdb5e92b6acb57c.tar.gz volse-hubzilla-c962f5c4bcc26fa7bad98a714cdb5e92b6acb57c.tar.bz2 volse-hubzilla-c962f5c4bcc26fa7bad98a714cdb5e92b6acb57c.zip |
comment collapsing, pagination wasn't advancing past 16
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1068,6 +1068,7 @@ function paginate(&$a) { $stripped = preg_replace('/(&page=[0-9]*)/','',$a->query_string); $stripped = str_replace('q=','',$stripped); $stripped = trim($stripped,'/'); + $pagenum = $a->pager['page']; $url = $a->get_baseurl() . '/' . $stripped; @@ -1080,7 +1081,7 @@ function paginate(&$a) { $numpages = $a->pager['total'] / $a->pager['itemspage']; - $numstart = 1; + $numstart = 1; $numstop = $numpages; if($numpages > 14) { |