From 5cdeef22eab8409fbbe79c3a8e6446860cb3e435 Mon Sep 17 00:00:00 2001
From: fabrixxm <fabrix.xm@gmail.com>
Date: Wed, 19 Jun 2013 14:28:39 +0200
Subject: [PATCH] pager: fix stupid typo

---
 include/text.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/text.php b/include/text.php
index 264dd76a5e..6b39868b9a 100644
--- a/include/text.php
+++ b/include/text.php
@@ -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']) {