diff options
author | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-06-10 06:10:41 +0000 |
---|---|---|
committer | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-06-10 06:10:41 +0000 |
commit | bd0cc0acbcc89dba344de613a8f419f08f51da1e (patch) | |
tree | df0f5d211d584fc3de511c353bfe6f7381692f56 /templates/rightbar.inc.php | |
parent | 7f3669335313adf9108119df4186a51a5f94e292 (diff) | |
download | ampache-bd0cc0acbcc89dba344de613a8f419f08f51da1e.tar.gz ampache-bd0cc0acbcc89dba344de613a8f419f08f51da1e.tar.bz2 ampache-bd0cc0acbcc89dba344de613a8f419f08f51da1e.zip |
Preserve keys when slicing up the tmpplaylist array. Fixes FS#112, reported by
Pietje Puk.
Diffstat (limited to 'templates/rightbar.inc.php')
-rw-r--r-- | templates/rightbar.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/rightbar.inc.php b/templates/rightbar.inc.php index 7e931fee..55fcf26f 100644 --- a/templates/rightbar.inc.php +++ b/templates/rightbar.inc.php @@ -86,7 +86,7 @@ // Limit the number of objects we show here if (count($objects) > 100) { $truncated = (count($objects) - 100); - $objects = array_slice($objects,0,100); + $objects = array_slice($objects, 0, 100, true); } $normal_array = array('radio','song','video','random'); |