pager: fix stupid typo

This commit is contained in:
fabrixxm 2013-06-19 14:28:39 +02:00
parent ecf3c2c9ce
commit 5cdeef22ea

View 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']) {