mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
MDL-16617 fixed forum name filtering - thanks Mark Nielsen; merged from mOODLE_19_STABLE
This commit is contained in:
parent
ac324e05ea
commit
9971cc0ce1
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user