diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-03 16:11:54 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-03 16:11:54 +0000 |
commit | 11639bf6cc2f09ab4ab0b921d70bb5b0e2c174b0 (patch) | |
tree | 85a7fc4c9fa6979a0321fd902270f878f0b9a3de /views/default | |
parent | bc38dc1a5974a158f4d64b2a51dfe54aa295b6f9 (diff) | |
download | elgg-11639bf6cc2f09ab4ab0b921d70bb5b0e2c174b0.tar.gz elgg-11639bf6cc2f09ab4ab0b921d70bb5b0e2c174b0.tar.bz2 |
Corrected pagination limit error.
git-svn-id: https://code.elgg.org/elgg/trunk@2635 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/navigation/pagination.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']; |