Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

output MDL-25445 Corrected standard_end_of_body_html, returns rather …

…than echoes now as suggested by docs and use. Kudos Urs for spotting.
  • Loading branch information...
commit 2138d893f87d7794c60743930847d8b0beb822c9 1 parent 164768b
@samhemelryk samhemelryk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/outputrenderers.php
View
2  lib/outputrenderers.php
@@ -379,7 +379,7 @@ public function standard_end_of_body_html() {
// This function is normally called from a layout.php file in {@link header()}
// but some of the content won't be known until later, so we return a placeholder
// for now. This will be replaced with the real content in {@link footer()}.
- echo self::END_HTML_TOKEN;
+ return self::END_HTML_TOKEN;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.