aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/vendor/form-comments/commentsubmit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/vendor/form-comments/commentsubmit.php b/content/vendor/form-comments/commentsubmit.php
index af3fe6e..8c81149 100644
--- a/content/vendor/form-comments/commentsubmit.php
+++ b/content/vendor/form-comments/commentsubmit.php
@@ -30,7 +30,7 @@ if(empty($_POST['name']) ||
$DATE_FORMAT = "Y-m-d H:i:s";
$publish = date($DATE_FORMAT);
- $name = strip_tags(utf8_decode(htmlspecialchars($_POST['name'])));
+ $name = strip_tags(utf8_decode(utf8_encode($_POST['name']));
$link = strip_tags(htmlspecialchars($_POST['link']));
$email_address = strip_tags(htmlspecialchars($_POST['email']));
$comment = utf8_decode($_POST['comment']);