Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
better cleaning of post title SC#251 revisited; merged from MOODLE_16…
…_STABLE
  • Loading branch information
skodak committed May 15, 2006
1 parent 62b504d commit 3b25960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/post.php
Expand Up @@ -79,7 +79,7 @@
$errordestination = $SESSION->fromurl;
}

$post->subject = clean_text(strip_tags($post->subject, '<lang><span>')); // Strip all tags except lang
$post->subject = clean_param(strip_tags($post->subject, '<lang><span>'), PARAM_CLEAN); // Strip all tags except lang

//$post->message = clean_text($post->message, $post->format); // Clean up any bad tags

Expand Down

0 comments on commit 3b25960

Please sign in to comment.