From 43d715777ab9b7aeedcb3870b31c395f7e8871bd Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Tue, 13 Jun 2023 14:03:41 +0100 Subject: [PATCH] MDL-78461 core: fix base plugininfo class reference to root directory. --- lib/classes/plugininfo/base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ''; }