Merge branch 'fix_check_ob_handler' into init_to_bootstrap

This commit is contained in:
Alexander Demidov
2012-06-29 13:01:20 +04:00

View File

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