summaryrefslogtreecommitdiffstats
path: root/templates/rightbar.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/rightbar.inc.php')
-rw-r--r--templates/rightbar.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/rightbar.inc.php b/templates/rightbar.inc.php
index bf1322e1..26ec3691 100644
--- a/templates/rightbar.inc.php
+++ b/templates/rightbar.inc.php
@@ -70,7 +70,7 @@
</ul>
</li>
</ul>
-<?php if ($GLOBALS['user']->prefs['play_type'] == 'localplay') { require_once Config::get('prefix') . '/templates/show_localplay_control.inc.php'; } ?>
+<?php if (Config::get('play_type') == 'localplay') { require_once Config::get('prefix') . '/templates/show_localplay_control.inc.php'; } ?>
<ul id="rb_current_playlist">
<?php
//FIXME :: this feels kludgy