Skip to content

Commit

Permalink
output MDL-25445 Corrected standard_end_of_body_html, returns rather …
Browse files Browse the repository at this point in the history
…than echoes now as suggested by docs and use. Kudos Urs for spotting.
  • Loading branch information
Sam Hemelryk committed Dec 1, 2010
1 parent 164768b commit 2138d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/outputrenderers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 2138d89

Please sign in to comment.