From dc60d703bfbaaf6f499beae16e3713ba8043ae18 Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Mon, 9 Jul 2012 12:52:52 +0400 Subject: [PATCH] Return ob_end_clean to ErroHandler. --- exception/ErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exception/ErrorHandler.php b/exception/ErrorHandler.php index 6600de3..eec155e 100644 --- a/exception/ErrorHandler.php +++ b/exception/ErrorHandler.php @@ -21,7 +21,7 @@ class ErrorHandler { $ob_handlers = ob_get_status(); if (!empty($ob_handlers)) { - ob_clean(); + ob_end_clean(); } throw new ErrorException($errstr, 0, $errno, $errfile, $errline); }