summaryrefslogtreecommitdiff
path: root/classes/pref/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-17 18:30:22 +0400
committerAndrew Dolgov <[email protected]>2013-04-17 18:30:22 +0400
commit72ff0137298f60970c664f0be24327b120bf4ac7 (patch)
treee06fdbc916cb76d7c8ba83f22022b3e0e459fc76 /classes/pref/prefs.php
parenta0ed0d38d467a7ceb5e576e8b363b5ee1af05ab1 (diff)
fix pluginhost created without dbh
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r--classes/pref/prefs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index faab69235..514f0a2e3 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -769,7 +769,7 @@ class Pref_Prefs extends Handler_Protected {
$system_enabled = array_map("trim", explode(",", PLUGINS));
$user_enabled = array_map("trim", explode(",", get_pref( "_ENABLED_PLUGINS")));
- $tmppluginhost = new PluginHost();
+ $tmppluginhost = new PluginHost(Db::get());
$tmppluginhost->load_all($tmppluginhost::KIND_ALL, $_SESSION["uid"]);
$tmppluginhost->load_data(true);