Skip to content

Commit

Permalink
MDL-79147 core: fix mustache_filesystem_loader load hint
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranrecio committed Aug 24, 2023
1 parent cccc009 commit e9bcfee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/classes/output/mustache_filesystem_loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected function shouldCheckPath() {
* @param string $name the template name
* @return string Mustache Template source
*/
public function load($name): string {
public function load($name) {
global $CFG;
if (!empty($CFG->debugtemplateinfo)) {
// We use many templates per page. We don't want to allocate more memory than necessary.
Expand Down

0 comments on commit e9bcfee

Please sign in to comment.