From 2c337852cff31297d681fb87d3098cc3d9041101 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Fri, 29 Feb 2008 06:14:46 +0000 Subject: major corrections to reading of preferences and a few misc fixes which I have now forgotten --- lib/class/localplay.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/class/localplay.class.php') diff --git a/lib/class/localplay.class.php b/lib/class/localplay.class.php index 1a4c8bef..7d793fa1 100644 --- a/lib/class/localplay.class.php +++ b/lib/class/localplay.class.php @@ -206,7 +206,7 @@ class Localplay { $this->_player->uninstall(); // If its our current player, reset player to nothing - if ($GLOBALS['user']->prefs['localplay_controller'] == $this->type) { + if (Config::get('localplay_controller') == $this->type) { Preference::update('localplay_controller',$GLOBALS['user']->id,''); } -- cgit