diff options
Diffstat (limited to 'lib/plugins/engine/PluginManager.class.php')
| -rw-r--r-- | lib/plugins/engine/PluginManager.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/engine/PluginManager.class.php b/lib/plugins/engine/PluginManager.class.php index 5873eb2..1f2d22e 100644 --- a/lib/plugins/engine/PluginManager.class.php +++ b/lib/plugins/engine/PluginManager.class.php @@ -619,7 +619,7 @@ class PluginManager */ public function getPlugins ($type, $context = null) { - $user = $GLOBALS['user'] ? $GLOBALS['user']->id : 'nobody'; + $user = isset($GLOBALS['user']) ? $GLOBALS['user']->id : 'nobody'; $plugin_info = $this->getPluginInfos($type); $plugins = []; |
