diff --git a/lib/classes/plugininfo/base.php b/lib/classes/plugininfo/base.php index 4eb39a1b188..41f5557fb60 100644 --- a/lib/classes/plugininfo/base.php +++ b/lib/classes/plugininfo/base.php @@ -598,7 +598,7 @@ abstract class base { public function get_dir() { global $CFG; - if (!isset($pluginfo->rootdir)) { + if (!isset($this->rootdir)) { return ''; }