Remove extra slashes when using PM preview

svn path=/trunk/boinc/; revision=13578
This commit is contained in:
Rytis Slatkevičius 2007-09-12 14:08:34 +00:00
parent 34a31a2827
commit 27cb39ca5a
2 changed files with 5 additions and 4 deletions

View File

@ -50,10 +50,11 @@ function pm_create_new($error = null) {
}
} else {
$writeto = post_str("to", true);
$subject = post_str("subject", true);
$content = post_str("content", true);
$subject = stripslashes(post_str("subject", true));
$content = stripslashes(post_str("content", true));
}
$content = htmlspecialchars($content);
$subject = htmlspecialchars($subject);
if ($error != null) {