diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-08-26 16:02:11 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-08-26 16:02:11 +0000 |
commit | f54f17453d160932781295632587ef7490136e77 (patch) | |
tree | d36bb4eb65b6de2f567f5c7cd047f45bb9ecced9 /lib/class/browse.class.php | |
parent | eb9e000f3d2fed4b99e3c74916b60ce3ef8d55ff (diff) | |
download | ampache-f54f17453d160932781295632587ef7490136e77.tar.gz ampache-f54f17453d160932781295632587ef7490136e77.tar.bz2 ampache-f54f17453d160932781295632587ef7490136e77.zip |
fixed two sql queries and the slicing on search (Thx sylvander)
Diffstat (limited to 'lib/class/browse.class.php')
-rw-r--r-- | lib/class/browse.class.php | 2 |
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 |