Skip to content

Commit

Permalink
Fixing stupid output buffering error.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 3, 2010
1 parent 29ade86 commit 2c7ef67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cake/tests/lib/reporter/cake_html_reporter.php
Expand Up @@ -216,7 +216,9 @@ protected function _queryString($url) {
public function paintDocumentEnd() {
$baseDir = $this->params['baseDir'];
include CAKE_TESTS_LIB . 'templates/footer.php';
ob_end_flush();
if (ob_get_length()) {
ob_end_flush();
}
}

/**
Expand Down

0 comments on commit 2c7ef67

Please sign in to comment.