summaryrefslogtreecommitdiffstats
path: root/song.php
diff options
context:
space:
mode:
Diffstat (limited to 'song.php')
-rw-r--r--song.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/song.php b/song.php
index af6e9337..6905d71b 100644
--- a/song.php
+++ b/song.php
@@ -137,7 +137,7 @@ switch ($method) {
$stream_type = conf('playlist_type');
if ($GLOBALS['user']->prefs['play_type'] != "stream" AND $GLOBALS['user']->prefs['play_type'] != "downsample") {
- $stream_type = $user->prefs['play_type'];
+ $stream_type = $GLOBALS['user']->prefs['play_type'];
}
/* Start the Stream */