mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-12 20:49:50 +00:00
Adding an ob_end_flush() to clean up an unclosed buffer.
This commit is contained in:
parent
4622ec44c2
commit
e2fee17173
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ class CakeHtmlReporter extends CakeBaseReporter {
|
|||
* @return void
|
||||
*/
|
||||
public function paintFooter($result) {
|
||||
ob_end_flush();
|
||||
$colour = ($result->failureCount() + $result->errorCount() > 0 ? "red" : "green");
|
||||
echo "</ul>\n";
|
||||
echo "<div style=\"";
|
||||
|
|
Loading…
Add table
Reference in a new issue