aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-09-27 08:57:16 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-09-27 08:57:16 +0200
commit939449602a58838f81045c9a0e9a205c8fa9e6bd (patch)
tree4d1889c9b2e762e5f361916d6c25d95d325c2f71 /mod/admin.php
parent7f02617517f16b5a26a8de66792c7cd028f9b195 (diff)
parent8d93eefea87bd36904fcb1daabc239361dd95a27 (diff)
downloadvolse-hubzilla-939449602a58838f81045c9a0e9a205c8fa9e6bd.tar.gz
volse-hubzilla-939449602a58838f81045c9a0e9a205c8fa9e6bd.tar.bz2
volse-hubzilla-939449602a58838f81045c9a0e9a205c8fa9e6bd.zip
Merge remote-tracking branch 'fabrix/newui'
Diffstat (limited to 'mod/admin.php')
-rw-r--r--mod/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/admin.php b/mod/admin.php
index e42fe93f6..da561d554 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -540,7 +540,7 @@ function admin_page_plugins(&$a){
}
$admin_form="";
- if (in_array($plugin, $a->plugins_admin)){
+ if (is_array($a->plugins_admin) && in_array($plugin, $a->plugins_admin)){
@require_once("addon/$plugin/$plugin.php");
$func = $plugin.'_plugin_admin';
$func($a, $admin_form);