aboutsummaryrefslogtreecommitdiff
path: root/views/default/messages/exceptions/exception.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/messages/exceptions/exception.php')
-rw-r--r--views/default/messages/exceptions/exception.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/messages/exceptions/exception.php b/views/default/messages/exceptions/exception.php
index 5d1faac81..f3668e3e6 100644
--- a/views/default/messages/exceptions/exception.php
+++ b/views/default/messages/exceptions/exception.php
@@ -17,7 +17,7 @@
global $CONFIG;
$class = get_class($vars['object']);
- $message = autop($vars['object']->getMessage());
+ $message = elgg_view('output/longtext', array('value' => $vars['object']->getMessage()));
$body = <<< END
<p class="messages-exception">
@@ -29,7 +29,7 @@ END;
if ($CONFIG->debug)
{
- $details = autop(htmlentities(print_r($vars['object'], true), ENT_QUOTES, 'UTF-8'));
+ $details = elgg_view('output/longtext', array('value' => htmlentities(print_r($vars['object'], true), ENT_QUOTES, 'UTF-8')));
$body .= <<< END
<hr />
<p class="messages-exception-detail">