Skip to content

Commit

Permalink
Merge pull request #67 from Xerkus/hotfix/error-template
Browse files Browse the repository at this point in the history
Fix error template failing to render
  • Loading branch information
Xerkus authored Jun 11, 2024
2 parents e0850c8 + 2e93009 commit 39a4783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/error/error.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<a href="/chat">contact us via chat</a>.
</p>

<?php if ($error) : ?>
<?php if (! empty($error)) : ?>
<pre><?= $this->e($error) ?></pre>
<?php endif ?>
</section>

0 comments on commit 39a4783

Please sign in to comment.