pager: fix stupid typo
This commit is contained in:
parent
ecf3c2c9ce
commit
5cdeef22ea
|
@ -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