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 8df557b48..f56927123 100644
--- a/views/default/messages/exceptions/exception.php
+++ b/views/default/messages/exceptions/exception.php
@@ -21,7 +21,7 @@
<span title="<?php echo get_class($vars['object']); ?>">
<?php
- echo nl2br($vars['object']->getMessage());
+ echo autop($vars['object']->getMessage());
?>
</span>
@@ -32,7 +32,7 @@
<p class="messages-exception-detail">
<?php
- echo nl2br(htmlentities(print_r($vars['object'], true)));
+ echo autop(htmlentities(print_r($vars['object'], true)));
?>
</p>