fix UTF-8 comment

This commit is contained in:
Jesús 2019-11-18 16:39:30 -05:00
parent bdf355a72f
commit 215e4fdcfb
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -33,7 +33,7 @@ if(empty($_POST['name']) ||
$name = strip_tags(utf8_decode(htmlspecialchars($_POST['name'])));
$link = strip_tags(htmlspecialchars($_POST['link']));
$email_address = strip_tags(htmlspecialchars($_POST['email']));
$comment = $_POST['comment'];
$comment = utf8_decode($_POST['comment']);
// article
$postID = str_replace('/','',$post_id);