summaryrefslogtreecommitdiffstats
path: root/lib/class/stream_playlist.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/stream_playlist.class.php')
-rw-r--r--lib/class/stream_playlist.class.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/class/stream_playlist.class.php b/lib/class/stream_playlist.class.php
index a49f47d0..ae16dfb0 100644
--- a/lib/class/stream_playlist.class.php
+++ b/lib/class/stream_playlist.class.php
@@ -374,17 +374,16 @@ class Stream_Playlist {
} // create_localplay
/**
- * create_democratic
+ * create_democratic
+ *
* This 'votes' on the songs it inserts them into
* a tmp_playlist with user of -1 (System)
*/
public function create_democratic() {
-
$democratic = Democratic::get_current_playlist();
$democratic->set_parent();
- $democratic->add_vote($this->media);
-
- } // create_democratic
+ $democratic->add_vote($this->urls);
+ }
/**
* create_download