diff options
author | Dries Buytaert <dries@buytaert.net> | 2000-09-26 12:48:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2000-09-26 12:48:30 +0000 |
commit | b48c22596b86076d96b906041359c0e9cfac3092 (patch) | |
tree | cf8eb1ed2b53dafad7eec9f3553550cacaadd285 | |
parent | d75efcbf68985b86039641e12f5639cf3efcf15c (diff) | |
download | brdo-b48c22596b86076d96b906041359c0e9cfac3092.tar.gz brdo-b48c22596b86076d96b906041359c0e9cfac3092.tar.bz2 |
While editing my diary, I figured out I forgot a stripslashes.
-rw-r--r-- | function.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/function.inc b/function.inc index d2f0d6458..4caf5391c 100644 --- a/function.inc +++ b/function.inc @@ -31,7 +31,7 @@ function FixQuotes ($what = "") { function check($message) { include "config.inc"; - return nl2br(strip_tags($message, $allowed_html)); + return nl2br(strip_tags(stripslashes($message, $allowed_html))); } function discussion_num_replies($id, $count = 0) { |