]> git.mxchange.org Git - friendica.git/commitdiff
pager: fix stupid typo
authorfabrixxm <fabrix.xm@gmail.com>
Wed, 19 Jun 2013 12:28:39 +0000 (14:28 +0200)
committerfabrixxm <fabrix.xm@gmail.com>
Wed, 19 Jun 2013 12:28:39 +0000 (14:28 +0200)
include/text.php

index 264dd76a5e49a1362660ac6f0955654bc7274add..6b39868b9a67c9658a9f3cf6e81adffeaf2783b2 100644 (file)
@@ -292,7 +292,7 @@ function paginate_data(&$a, $count=null) {
                if($a->pager['page']>1)
                        _l($data,  "prev", $url.'&page='.($a->pager['page'] - 1), t('newer'));
                if($count>0)
-                       _l($data,  "next", $url.'&page='.($a->pager['page'] - 1), t('older'));
+                       _l($data,  "next", $url.'&page='.($a->pager['page'] + 1), t('older'));
        } else {
                // full pager
                if($a->pager['total'] > $a->pager['itemspage']) {