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); }