diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-08-31 16:18:37 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-08-31 16:18:37 +0200 |
commit | b38d6d97c3746203241c5ef50a8dd9f0bb0a0de0 (patch) | |
tree | f1d642aa02939bd41b129944ab16ab06c55a2947 /mod/admin.php | |
parent | 5ce6f893a64984eae9685db305b8d29ae3ced509 (diff) | |
download | volse-hubzilla-b38d6d97c3746203241c5ef50a8dd9f0bb0a0de0.tar.gz volse-hubzilla-b38d6d97c3746203241c5ef50a8dd9f0bb0a0de0.tar.bz2 volse-hubzilla-b38d6d97c3746203241c5ef50a8dd9f0bb0a0de0.zip |
Avoid a small error in admin
Diffstat (limited to 'mod/admin.php')
-rw-r--r-- | mod/admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/admin.php b/mod/admin.php index 7799e64ab..bbf786acb 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); |