Merge branch 'MDL-78461-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

This commit is contained in:
Andrew Nicols 2023-06-15 11:23:27 +08:00
commit dedfbb7e63
No known key found for this signature in database
GPG Key ID: 6D1E3157C8CFBF14

View File

@ -598,7 +598,7 @@ abstract class base {
public function get_dir() {
global $CFG;
if (!isset($pluginfo->rootdir)) {
if (!isset($this->rootdir)) {
return '';
}