aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-20 10:15:22 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-20 10:15:22 +0000
commitfb174c6eb95355f54048f08585e583345c146d5b (patch)
treebb3cc8fb4eafe295f58b9d530952d7bc8c100e35 /engine/lib
parent6af33c4fbb99561472ca5dd7a22b920fda73492c (diff)
downloadelgg-fb174c6eb95355f54048f08585e583345c146d5b.tar.gz
elgg-fb174c6eb95355f54048f08585e583345c146d5b.tar.bz2
Closes #487: Removed superfluous page_draw from exception view.
git-svn-id: https://code.elgg.org/elgg/trunk@2840 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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);