summaryrefslogtreecommitdiff
path: root/inc/mod/pages.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-08-16 22:18:57 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-16 22:18:57 +1000
commit47ddd2f8b24b115a26403d7d7a1d8bdcb0da6c5d (patch)
treecfb425c175fa3a200ba8b2578fb1e7668f649408 /inc/mod/pages.php
parenta9fe4ea2db12e8d16212ad9565d3b0a1dfdfd54d (diff)
Fix editing raw HTML posts
Diffstat (limited to 'inc/mod/pages.php')
-rw-r--r--inc/mod/pages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index 9f8fcc5c..457f905b 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -1283,7 +1283,7 @@ function mod_edit_post($board, $edit_raw_html, $postID) {
$query->bindValue(':subject', $_POST['subject']);
$query->bindValue(':body', $_POST['body']);
if ($edit_raw_html) {
- $body_nomarkup = '<tinyboard raw html>' . $_POST['body'] . '</tinyboard>';
+ $body_nomarkup = $_POST['body'] . '<tinyboard raw html>1</tinyboard>';
$query->bindValue(':body_nomarkup', $body_nomarkup);
}
$query->execute() or error(db_error($query));