From 11639bf6cc2f09ab4ab0b921d70bb5b0e2c174b0 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 3 Feb 2009 16:11:54 +0000 Subject: Corrected pagination limit error. git-svn-id: https://code.elgg.org/elgg/trunk@2635 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/navigation/pagination.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/default/navigation/pagination.php b/views/default/navigation/pagination.php index dede753e1..11e3b215f 100644 --- a/views/default/navigation/pagination.php +++ b/views/default/navigation/pagination.php @@ -17,7 +17,7 @@ } else { $offset = $vars['offset']; } - if ((!isset($vars['limit'])) || (!$limit)) { + if ((!isset($vars['limit'])) || (!$vars['limit'])) { $limit = 10; } else { $limit = (int)$vars['limit']; -- cgit v1.2.3