summaryrefslogtreecommitdiffstats
path: root/modules/localplay/mpd.controller.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-19 01:18:39 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-19 01:18:39 +0000
commitd527e50395f3e76bbc6c76fcd4882dfbc88ff152 (patch)
tree2f4e57ae2469185ef2fcd5674e55a34821862db6 /modules/localplay/mpd.controller.php
parent755fffbd78dc8411b0ba8d0918416f7c2ff5e4a0 (diff)
downloadampache-d527e50395f3e76bbc6c76fcd4882dfbc88ff152.tar.gz
ampache-d527e50395f3e76bbc6c76fcd4882dfbc88ff152.tar.bz2
ampache-d527e50395f3e76bbc6c76fcd4882dfbc88ff152.zip
really fix the localplay instance thing
Diffstat (limited to 'modules/localplay/mpd.controller.php')
-rw-r--r--modules/localplay/mpd.controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/localplay/mpd.controller.php b/modules/localplay/mpd.controller.php
index 79e1b710..4db5511f 100644
--- a/modules/localplay/mpd.controller.php
+++ b/modules/localplay/mpd.controller.php
@@ -252,7 +252,7 @@ class AmpacheMpd extends localplay_controller {
$user_id = $user_id ? $user_id : $GLOBALS['user']->id;
Preference::update('mpd_active',$user_id,intval($uid));
- Config::set(array('mpd_active'=>intval($uid)),'1');
+ Config::set('mpd_active',intval($uid),'1');
return true;