Browse Source

Merge branch 'fix_check_ob_handler' into init_to_bootstrap

master
Alexander Demidov 13 years ago
parent
commit
060cb76653
  1. 2
      exception/ErrorHandler.php

2
exception/ErrorHandler.php

@ -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_end_clean();
ob_clean();
} }
throw new ErrorException($errstr, 0, $errno, $errfile, $errline); throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
} }

Loading…
Cancel
Save