X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=index.php;h=8bd3f6c5e2c9eb3ae6ca5c23e0f5db5032ed9755;hb=6709efc8d60c9277a668b02f4f128ba375dfb534;hp=58b10f6e923c68411d8203956ae7a28cf94c1c2a;hpb=fd9475498aaef1e21324c9acea39463fa53fcbbe;p=dylansserver.git diff --git a/index.php b/index.php index 58b10f6..8bd3f6c 100644 --- a/index.php +++ b/index.php @@ -435,8 +435,8 @@ class note extends cms { // and a default author needs to be set // for no-javascript users. $stmt->bind_param('sss', - htmlspecialchars($_POST['name']), - htmlspecialchars($_POST['text']), + $_POST['name'], + $_POST['text'], $this->id); $stmt->execute(); } @@ -491,7 +491,7 @@ END_OF_NAVIGATION; $date_posted = $entry['date_posted']; $author = $entry['author']; $text = htmlspecialchars($entry['text']); - $head = "

$author

"; + $head = "

" . htmlspecialchars($author) . "

"; echo << $head