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 Feb 14, 2023
1 parent db77df8 commit f3380f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions phpmyfaq/admin/record.comments.php
Expand Up @@ -127,10 +127,10 @@
<td>
<span style="font-weight: bold;">
<a href="mailto:<?= $newsComment->getEmail() ?>">
<?= $newsComment->getUsername() ?>
<?= Strings::htmlentities($newsComment->getUsername()) ?>
</a> |
<?= $date->format(date('Y-m-d H:i', $faqComment->getDate())) ?> |
<a href="<?php printf('../?action=news&id=%d&artlang=%s', $faqComment->getRecordId(), $faqLangCode) ?>">
<?= $date->format(date('Y-m-d H:i', $newsComment->getDate())) ?> |
<a href="<?php printf('../?action=news&id=%d&artlang=%s', $newsComment->getRecordId(), $faqLangCode) ?>">
<i class="fa fa-newspaper-o" aria-hidden="true"></i>
</a>
</span><br/>
Expand Down

0 comments on commit f3380f4

Please sign in to comment.