summaryrefslogtreecommitdiffstats
path: root/lib/class/stream.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-24 21:48:22 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-24 21:48:22 +0000
commit6e299a7f63b5b5f056667dee6788fe4c5626be5f (patch)
treea4e9b70bd393d7dc260b32b347aaec74f2da9409 /lib/class/stream.class.php
parent27ba8110cab5b09220a110f0e2f3af026582c9fc (diff)
downloadampache-6e299a7f63b5b5f056667dee6788fe4c5626be5f.tar.gz
ampache-6e299a7f63b5b5f056667dee6788fe4c5626be5f.tar.bz2
ampache-6e299a7f63b5b5f056667dee6788fe4c5626be5f.zip
fixed voting up/down and removal of songs from democratic playlist after playback
Diffstat (limited to 'lib/class/stream.class.php')
-rw-r--r--lib/class/stream.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php
index 9aa1f76a..09f3cf8a 100644
--- a/lib/class/stream.class.php
+++ b/lib/class/stream.class.php
@@ -471,8 +471,8 @@ class Stream {
*/
public function create_democratic() {
- $tmp_playlist = Democratic::get_current_playlist();
- $tmp_playlist->vote($this->songs);
+ $democratic = Democratic::get_current_playlist();
+ $democratic->vote($this->songs);
} // create_democratic