mirror of
https://github.com/moodle/moodle.git
synced 2025-02-09 01:21:57 +01:00
Merged fix from stable
This commit is contained in:
parent
ce1332f537
commit
f025416cb0
@ -54,7 +54,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($post = get_record('forum_posts', 'id', $id)) {
|
||||
if ($post = get_record('forum_posts', 'id', $postid)) {
|
||||
if ($returntoview and ($discussion = get_record('forum_discussions', 'id', $post->discussion))) {
|
||||
redirect("$CFG->wwwroot/mod/forum/view.php?f=$discussion->forum", get_string("ratingssaved", "forum"));
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user