aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/messages/exceptions/exception.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/messages/exceptions/exception.php b/views/default/messages/exceptions/exception.php
index c93883cbc..65ec7cdbf 100644
--- a/views/default/messages/exceptions/exception.php
+++ b/views/default/messages/exceptions/exception.php
@@ -24,7 +24,7 @@ $body = <<< END
</p>
END;
-if ($CONFIG->debug) {
+if (isset($CONFIG->debug)) {
$details = elgg_view('output/longtext', array('value' => htmlentities(print_r($vars['object'], true), ENT_QUOTES, 'UTF-8')));
$body .= <<< END
<hr />