diff options
author | pb1dft <pb1dft@ampache> | 2007-02-27 18:12:42 +0000 |
---|---|---|
committer | pb1dft <pb1dft@ampache> | 2007-02-27 18:12:42 +0000 |
commit | 055195b302f0a2521a8b3a7f57e385a2aa03fdc2 (patch) | |
tree | 84077ad5b5912c597b7ff8dd263a9ca8c7629e4d /albums.php | |
parent | 28adccb76ae99f07cb8ca9e39355ab916b2b2f83 (diff) | |
download | ampache-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |