diff --git a/application/core/Plugins/PluginManager.php b/application/core/Plugins/PluginManager.php index 2824935b..2b4f533f 100644 --- a/application/core/Plugins/PluginManager.php +++ b/application/core/Plugins/PluginManager.php @@ -102,7 +102,11 @@ class PluginManager { if (!class_exists($pluginClass, false)) { return false; } - if (!in_array(Plugin::PLUGIN_INTERFACE, class_implements($pluginClass, false))) { + $interfaces = class_implements($pluginClass, false); + if (!$interfaces) { + return false; + } + if (!in_array(Plugin::PLUGIN_INTERFACE, $interfaces)) { return false; } return true;