MDL-78461 core: fix base plugininfo class reference to root directory.
This commit is contained in:
@@ -613,7 +613,7 @@ abstract class base {
|
||||
public function get_dir() {
|
||||
global $CFG;
|
||||
|
||||
if (!isset($pluginfo->rootdir)) {
|
||||
if (!isset($this->rootdir)) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user