Skip to content

Commit

Permalink
Merge pull request #69 from weierophinney/fix/error-template
Browse files Browse the repository at this point in the history
Ensure $error is set before using it
  • Loading branch information
weierophinney authored Jun 13, 2024
2 parents 12fe619 + ce2ef92 commit 8319ffa
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 (! empty($error)) : ?>
<?php if (isset($error)) : ?>
<pre><?= $this->e($error) ?></pre>
<?php endif ?>
</section>

0 comments on commit 8319ffa

Please sign in to comment.