]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed missing context argument MDL-13206
authormoodler <moodler>
Mon, 28 Jan 2008 03:23:38 +0000 (03:23 +0000)
committermoodler <moodler>
Mon, 28 Jan 2008 03:23:38 +0000 (03:23 +0000)
mod/forum/post.php

index ed1b7f827db3968606eccd2f7185f9fec632e6bc..aea8caac8b807bceea0ff9db5d341b20231e6a67 100644 (file)
                 $user_read_array = array();
             }
             if ($forum->type != 'qanda' || forum_user_can_see_discussion($forum, $discussion, $modcontext)) {
-                forum_print_posts_threaded($parent->id, $course->id, 0, false, false, $user_read_array, $discussion->forum);
+                forum_print_posts_threaded($parent->id, $course->id, 0, false, false, $user_read_array, $discussion->forum, $modcontext);
             }
         }
         $heading = get_string("yourreply", "forum");