summaryrefslogtreecommitdiffstats
path: root/modules/localplay/httpq.controller.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/localplay/httpq.controller.php')
-rw-r--r--modules/localplay/httpq.controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/localplay/httpq.controller.php b/modules/localplay/httpq.controller.php
index 37c7edde..9a67a249 100644
--- a/modules/localplay/httpq.controller.php
+++ b/modules/localplay/httpq.controller.php
@@ -228,7 +228,7 @@ class AmpacheHttpq extends localplay_controller {
*/
public function get_instance($instance='') {
- $instance = $instance ? $instance : $GLOBALS['user']->prefs['httpq_active'];
+ $instance = $instance ? $instance : Config::get('httpq_active');
$instance = Dba::escape($instance);
$sql = "SELECT * FROM `localplay_httpq` WHERE `id`='$instance'";