Skip to content

Commit

Permalink
✨ Updates for PHP 8.2 and next FastSitePHP Release
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradSollitt committed Apr 23, 2023
1 parent e75ce27 commit 85913e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Views/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<tr><td><b>Type</b></td><td class="error-type"><?php echo $app->escape(get_class($e)) ?></td></tr>
<tr><td><b>Code</b></td><td class="error-code"><?php echo $app->escape($e->getCode()) ?></td></tr>
<?php if (get_class($e) === 'ErrorException') { ?>
<tr><td><b>Severity</b></td><td class="error-severity"><?php echo $app->escape($e->getSeverity()) . (isset($e->severityText) ? ' (' . $e->severityText . ')' : '') ?></td></tr>
<tr><td><b>Severity</b></td><td class="error-severity"><?php echo $app->escape($e->getSeverity()) . (isset($severityText) ? ' (' . $severityText . ')' : '') ?></td></tr>
<?php } ?>
<tr><td><b>Message</b></td><td class="error-message"><?php echo str_replace("\n", '<br>', $app->escape($e->getMessage())) ?></td></tr>
<tr><td><b>File</b></td><td class="error-file"><?php echo $app->escape($e->getFile()) ?></td></tr>
Expand Down

0 comments on commit 85913e8

Please sign in to comment.