Skip to content
Snippets Groups Projects
Verified Commit 8f828096 authored by Pavel Břoušek's avatar Pavel Břoušek
Browse files

fix: prevent warning when printing username

parent c079eeb4
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ if (null !== $this->data['errorCode']) { ...@@ -87,7 +87,7 @@ if (null !== $this->data['errorCode']) {
<?php <?php
} ?> } ?>
<input type="hidden" id="username" name="username" <input type="hidden" id="username" name="username"
value="<?php echo htmlspecialchars($this->data['username'], ENT_QUOTES); ?>"/> value="<?php echo htmlspecialchars($this->data['username'] ?? '', ENT_QUOTES); ?>"/>
<?php <?php
} else { } else {
?> ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment