summaryrefslogtreecommitdiffstats
path: root/lib/class/browse.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-08 17:18:54 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-08 17:18:54 +0000
commit8e29b0e691ef343209573f5af6685d4e522e8ef1 (patch)
treea11fb2d44810489ebe04d4b79192f375d6849092 /lib/class/browse.class.php
parentab0e89b8dd232cca8b583f515a5ddf22c24cf9f9 (diff)
downloadampache-8e29b0e691ef343209573f5af6685d4e522e8ef1.tar.gz
ampache-8e29b0e691ef343209573f5af6685d4e522e8ef1.tar.bz2
ampache-8e29b0e691ef343209573f5af6685d4e522e8ef1.zip
fixed invalid reference to start point for browsing (Thx yoog)
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 cb8acbb7..fed25419 100644
--- a/lib/class/browse.class.php
+++ b/lib/class/browse.class.php
@@ -510,7 +510,7 @@ class Browse {
// Limit is based on the users preferences
$limit = $GLOBALS['user']->prefs['offset_limit'] ? $GLOBALS['user']->prefs['offset_limit'] : '25';
- if (count($object_ids) > $start) {
+ if (count($object_ids) > self::$start) {
$object_ids = array_slice($object_ids,self::$start,$limit);
}