mirror of
https://github.com/friendica/friendica
synced 2024-11-20 09:03:40 +00:00
pager: fix stupid typo
This commit is contained in:
parent
ecf3c2c9ce
commit
5cdeef22ea
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ function paginate_data(&$a, $count=null) {
|
||||||
if($a->pager['page']>1)
|
if($a->pager['page']>1)
|
||||||
_l($data, "prev", $url.'&page='.($a->pager['page'] - 1), t('newer'));
|
_l($data, "prev", $url.'&page='.($a->pager['page'] - 1), t('newer'));
|
||||||
if($count>0)
|
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 {
|
} else {
|
||||||
// full pager
|
// full pager
|
||||||
if($a->pager['total'] > $a->pager['itemspage']) {
|
if($a->pager['total'] > $a->pager['itemspage']) {
|
||||||
|
|
Loading…
Reference in a new issue