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 | |
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.
-rwxr-xr-x | docs/CHANGELOG | 1 | ||||
-rw-r--r-- | templates/rightbar.inc.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG index fdd274aa..80bd9b25 100755 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -4,6 +4,7 @@ -------------------------------------------------------------------------- v.3.6-Alpha1 + - Fixed handling of temporary playlists with >100 items - Changed Browse from a singleton to multiple instances - Fixed setting access levels for plugin passwords - Fixed handling of unusual characters in passwords 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'); |