From 94b8fadbc45b0331d1013478c36224cac96bc6fa Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Fri, 29 Jun 2012 13:00:29 +0400 Subject: [PATCH] Replace ob_end_clean to ob_clean in ErrorHandler class error_handler method. --- exception/ErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exception/ErrorHandler.php b/exception/ErrorHandler.php index eec155e..6600de3 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_end_clean(); + ob_clean(); } throw new ErrorException($errstr, 0, $errno, $errfile, $errline); }