From f54f17453d160932781295632587ef7490136e77 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Tue, 26 Aug 2008 16:02:11 +0000 Subject: fixed two sql queries and the slicing on search (Thx sylvander) --- lib/class/browse.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/class/browse.class.php') 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 -- cgit