aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 21dfacc0c..5e06ad4c0 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -1657,6 +1657,8 @@
error_log("*** FATAL EXCEPTION *** : " . $exception);
+ ob_end_clean(); // Wipe any existing output buffer
+
$body = elgg_view("messages/exceptions/exception",array('object' => $exception));
echo page_draw(elgg_echo('exception:title'), $body);