From 69daee8e35cc04fe5db08af6e2e6855afdbee7b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 25 Feb 2020 14:25:33 -0500 Subject: [PATCH] commentsubmit: fix unclosed function --- content/vendor/form-comments/commentsubmit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/vendor/form-comments/commentsubmit.php b/content/vendor/form-comments/commentsubmit.php index 8c81149..e10f72b 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(utf8_encode($_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']);