summaryrefslogtreecommitdiffstats
path: root/lib/class/browse.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/browse.class.php')
-rw-r--r--lib/class/browse.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php
index fd635d20..af8ddc03 100644
--- a/lib/class/browse.class.php
+++ b/lib/class/browse.class.php
@@ -945,7 +945,7 @@ class Browse {
// Limit is based on the users preferences if this is not a simple browse because we've got too much here
if (count($object_ids) > self::$start AND !self::is_simple_browse()) {
- $object_ids = array_slice($object_ids,self::$start,$limit);
+ $object_ids = array_slice($object_ids,self::$start,self::$offset);
}
// Format any matches we have so we can show them to the masses