summaryrefslogtreecommitdiffstats
path: root/stream.php
diff options
context:
space:
mode:
Diffstat (limited to 'stream.php')
-rw-r--r--stream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.php b/stream.php
index dd66a579..ac93e9bb 100644
--- a/stream.php
+++ b/stream.php
@@ -144,7 +144,7 @@ switch ($_REQUEST['action']) {
$song_ids = get_random_songs($options, $matchlist);
break;
case 'democratic':
- $democratic = Democratic::get_current_playlist();
+ $democratic = new Democratic($_REQUEST['democratic_id']);
$urls[] = $democratic->get_url();
$song_ids = array('0');
break;