Return ob_end_clean to ErroHandler.

This commit is contained in:
Alexander Demidov
2012-07-09 12:52:52 +04:00
parent c836b5974e
commit dc60d703bf

View File

@ -21,7 +21,7 @@ class ErrorHandler
{ {
$ob_handlers = ob_get_status(); $ob_handlers = ob_get_status();
if (!empty($ob_handlers)) { if (!empty($ob_handlers)) {
ob_clean(); ob_end_clean();
} }
throw new ErrorException($errstr, 0, $errno, $errfile, $errline); throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
} }