output MDL-25445 Corrected standard_end_of_body_html, returns rather than echoes...
authorSam Hemelryk <sam@moodle.com>
Wed, 1 Dec 2010 06:04:05 +0000 (06:04 +0000)
committerSam Hemelryk <sam@moodle.com>
Wed, 1 Dec 2010 06:04:05 +0000 (06:04 +0000)
lib/outputrenderers.php

index a188789..06dd014 100644 (file)
@@ -379,7 +379,7 @@ class core_renderer extends renderer_base {
         // 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;
     }
 
     /**