summaryrefslogtreecommitdiffstats
path: root/stream.php
diff options
context:
space:
mode:
Diffstat (limited to 'stream.php')
-rw-r--r--stream.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream.php b/stream.php
index d4e1527b..c9c85188 100644
--- a/stream.php
+++ b/stream.php
@@ -51,6 +51,9 @@ switch ($action) {
// Make sure they actually passed soemthing
if (!count($song_ids)) { header("Location:" . return_referer()); exit; }
break;
+ case 'basket':
+ $song_ids = $GLOBALS['user']->playlist->get_items();
+ break;
/* This is run if we need to gather info based on a tmp playlist */
case 'tmp_playlist':
$tmp_playlist = new tmpPlaylist($_REQUEST['tmpplaylist_id']);