mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-65069' of git://github.com/stronk7/moodle
This commit is contained in:
commit
471b4e371b
@ -234,7 +234,8 @@ class discussion_list {
|
||||
'inpagereply' => true,
|
||||
'edit' => 0
|
||||
);
|
||||
$mformpost = new \mod_forum_post_form('post.php', $formparams, 'post', '', array('id' => 'mformforum'));
|
||||
$posturl = new \moodle_url('/mod/forum/post.php');
|
||||
$mformpost = new \mod_forum_post_form($posturl, $formparams, 'post', '', array('id' => 'mformforum'));
|
||||
$discussionsubscribe = \mod_forum\subscriptions::get_user_default_subscription($forumrecord, $coursecontext, $cm, null);
|
||||
|
||||
$params = array('reply' => 0, 'forum' => $forumrecord->id, 'edit' => 0) +
|
||||
|
Loading…
x
Reference in New Issue
Block a user