Fix output buffer checking bug.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Taylor Otwell 2012-03-04 23:06:17 -06:00
parent 89dc8903ec
commit 5b3031adb0
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ public static function exception($exception)
{
static::log($exception);
ob_end_clean();
ob_get_level() and ob_end_clean();
// If detailed errors are enabled, we'll just format the exception into
// a simple error message and display it on the screen. We don't use a