From 2e47b2361a9fc80fa58836fd878a31543fa2048c Mon Sep 17 00:00:00 2001 From: David Grudl Date: Fri, 5 Feb 2016 17:49:38 +0100 Subject: [PATCH] ob_start() is marked as PHP_OUTPUT_HANDLER_CLEANABLE (is not flushable) --- src/Bridges/DatabaseTracy/ConnectionPanel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bridges/DatabaseTracy/ConnectionPanel.php b/src/Bridges/DatabaseTracy/ConnectionPanel.php index a5c0c99f1..31f865ff8 100644 --- a/src/Bridges/DatabaseTracy/ConnectionPanel.php +++ b/src/Bridges/DatabaseTracy/ConnectionPanel.php @@ -100,7 +100,7 @@ public function getTab() $name = $this->name; $count = $this->count; $totalTime = $this->totalTime; - ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE); + ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE | PHP_OUTPUT_HANDLER_CLEANABLE); require __DIR__ . '/templates/ConnectionPanel.tab.phtml'; return ob_get_clean(); } @@ -131,7 +131,7 @@ public function getPanel() $queries[] = $query; } - ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE); + ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE | PHP_OUTPUT_HANDLER_CLEANABLE); require __DIR__ . '/templates/ConnectionPanel.panel.phtml'; return ob_get_clean(); }