aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/messages/exceptions/exception.php21
1 files changed, 13 insertions, 8 deletions
diff --git a/views/default/messages/exceptions/exception.php b/views/default/messages/exceptions/exception.php
index 42223b225..8df557b48 100644
--- a/views/default/messages/exceptions/exception.php
+++ b/views/default/messages/exceptions/exception.php
@@ -22,13 +22,18 @@
<?php
echo nl2br($vars['object']->getMessage());
-
- if ($CONFIG->debug)
- {
- echo "<br /><pre>";
- print_r($vars['object']);
- echo "</pre>";
- }
+
?>
</span>
- </p> \ No newline at end of file
+ </p>
+
+ <?php if ($CONFIG->debug) { ?>
+ <hr />
+ <p class="messages-exception-detail">
+ <?php
+
+ echo nl2br(htmlentities(print_r($vars['object'], true)));
+
+ ?>
+ </p>
+ <?php } ?> \ No newline at end of file