diff --git a/src/Service/Plugins.php b/src/Service/Plugins.php index 37cb1c8..53781ba 100644 --- a/src/Service/Plugins.php +++ b/src/Service/Plugins.php @@ -28,7 +28,7 @@ final public static function instance(): Plugins { private function getBaseMoodlePluginPath(string $pluginName): string { $path = ''; - $parts = explode('_', $pluginName); + $parts = explode('_', $pluginName, 2); $type = array_shift($parts); switch ($type) {