summaryrefslogtreecommitdiffstats
path: root/albums.php
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2007-02-27 18:12:42 +0000
committerpb1dft <pb1dft@ampache>2007-02-27 18:12:42 +0000
commit055195b302f0a2521a8b3a7f57e385a2aa03fdc2 (patch)
tree84077ad5b5912c597b7ff8dd263a9ca8c7629e4d /albums.php
parent28adccb76ae99f07cb8ca9e39355ab916b2b2f83 (diff)
downloadampache-055195b302f0a2521a8b3a7f57e385a2aa03fdc2.tar.gz
ampache-055195b302f0a2521a8b3a7f57e385a2aa03fdc2.tar.bz2
ampache-055195b302f0a2521a8b3a7f57e385a2aa03fdc2.zip
Updated all offset_limit refs to ->pref['offset_limit']
Diffstat (limited to 'albums.php')
-rw-r--r--albums.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/albums.php b/albums.php
index a2237875..4fc1f31c 100644
--- a/albums.php
+++ b/albums.php
@@ -267,7 +267,7 @@ switch ($action) {
if (!$sort_order) { $sort_order = 'name'; }
$db_results = mysql_query($sql, dbh());
$total_items = mysql_num_rows($db_results);
- if ($match != "Show_all") { $offset_limit = $_SESSION['userdata']['offset_limit']; }
+ if ($match != "Show_all") { $offset_limit = $user->prefs['offset_limit']; }
$view = new View($sql, 'albums.php',$sort_order,$total_items,$offset_limit);
}