MDL-16617 fixed forum name filtering - thanks Mark Nielsen; merged from mOODLE_19_STABLE

This commit is contained in:
skodak 2008-09-25 07:12:27 +00:00
parent ac324e05ea
commit 9971cc0ce1

View File

@ -4458,7 +4458,7 @@ function forum_post_subscription($post) {
$info = new object();
$info->name = fullname($USER);
$info->forum = $forum->name;
$info->forum = format_string($forum->name);
if (!empty($post->subscribe)) {
forum_subscribe($USER->id, $post->forum);