Skip to content

Commit

Permalink
fix: added missing conversion to HTML entities
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Apr 2, 2023
1 parent fd2cda1 commit 20ac515
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions phpmyfaq/admin/record.questions.php
Expand Up @@ -89,12 +89,14 @@
<td>
<?= $date->format(Date::createIsoDate($openQuestion->getCreated())) ?>
<br>
<a href="mailto:<?= $openQuestion->getEmail() ?>">
<a href="mailto:<?= Strings::htmlentities($openQuestion->getEmail()) ?>">
<?= Strings::htmlentities($openQuestion->getUsername()) ?>
</a>
</td>
<td>
<strong><?= $category->categoryName[$openQuestion->getCategoryId()]['name'] ?></strong>
<strong>
<?= Strings::htmlentities($category->categoryName[$openQuestion->getCategoryId()]['name']) ?>
</strong>
<br>
<?= Strings::htmlentities($openQuestion->getQuestion()) ?>
</td>
Expand Down

0 comments on commit 20ac515

Please sign in to comment.