summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/modules.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/modules.php b/admin/modules.php
index 498a1032..bc13eb22 100644
--- a/admin/modules.php
+++ b/admin/modules.php
@@ -45,6 +45,8 @@ switch ($_REQUEST['action']) {
// Go ahead and enable Localplay (Admin->System) as we assume they want to do that
// if they are enabling this
Preference::update('allow_localplay_playback','-1','1');
+ Preference::update('localplay_level',$GLOBALS['user']->id,'100');
+ Preference::update('localplay_controller',$GLOBALS['user']->id,$localplay->type);
header("Location:" . Config::get('web_path') . '/admin/modules.php?action=show_localplay');
break;