Skip to content

Commit

Permalink
Adding an ob_end_flush() to clean up an unclosed buffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 17, 2010
1 parent 4622ec4 commit e2fee17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cake/tests/lib/reporter/cake_html_reporter.php
Expand Up @@ -126,6 +126,7 @@ public function sendNoCacheHeaders() {
* @return void
*/
public function paintFooter($result) {
ob_end_flush();
$colour = ($result->failureCount() + $result->errorCount() > 0 ? "red" : "green");
echo "</ul>\n";
echo "<div style=\"";
Expand Down

0 comments on commit e2fee17

Please sign in to comment.