Merge branch 'MDL-81948-403' of https://github.com/ferranrecio/moodle into MOODLE_403_STABLE
This commit is contained in:
+1
-3
@@ -2472,9 +2472,7 @@ class theme_config {
|
||||
}
|
||||
}
|
||||
|
||||
debugging('Can not find layout file for: ' . $pagelayout);
|
||||
// fallback to standard normal layout
|
||||
return "$CFG->dirroot/theme/base/layout/general.php";
|
||||
throw new coding_exception('Can not find layout file for: ' . $pagelayout . ' (' . $layoutfile . ')');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user