Skip to content

Commit

Permalink
Fixing exception display issue on #702
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnieezell committed Sep 6, 2017
1 parent 98b8de9 commit 6f42d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/Views/errors/html/error_exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
<tr>
<td><?= htmlspecialchars($key, ENT_IGNORE, 'UTF-8') ?></td>
<td>
<?php if (! is_array($value) && ! is_object($value)) : ?>
<?php if (is_string($value)) : ?>
<?= htmlspecialchars($value, ENT_SUBSTITUTE, 'UTF-8') ?>
<?php else: ?>
<?= '<pre>'.print_r($value, true) ?>
Expand Down

0 comments on commit 6f42d73

Please sign in to comment.