Permalink
Browse files

Fix an issue which gives gibberish output when gzip is enabled.

  • Loading branch information...
1 parent 804bd77 commit af29fc5f8e7e3c6ca865475fdcf457ee48dbeb3a @uzyn uzyn committed Feb 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Error/ErrorHandler.php
View
2 lib/Cake/Error/ErrorHandler.php
@@ -227,7 +227,7 @@ public static function handleFatalError($code, $description, $file, $line) {
}
if (ob_get_level()) {
- ob_clean();
+ ob_end_clean();
}
if (Configure::read('debug')) {

0 comments on commit af29fc5

Please sign in to comment.