Skip to content

Commit

Permalink
Fix output buffer checking bug.
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Otwell <[email protected]>
  • Loading branch information
taylorotwell committed Mar 5, 2012
1 parent 89dc890 commit 5b3031a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion laravel/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b3031a

Please sign in to comment.