From 6e299a7f63b5b5f056667dee6788fe4c5626be5f Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sat, 24 Nov 2007 21:48:22 +0000 Subject: fixed voting up/down and removal of songs from democratic playlist after playback --- lib/class/stream.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/class/stream.class.php') 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 -- cgit