Skip to content

Commit

Permalink
MDL-13546 fixed table name typo - patch by Samuli Karevaara; merged f…
Browse files Browse the repository at this point in the history
…rom MOODLE_19_STABLE
  • Loading branch information
skodak committed Feb 20, 2008
1 parent 874da31 commit b8738cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/lib.php
Expand Up @@ -929,7 +929,7 @@ function forum_user_complete($course, $user, $mod, $forum) {
if (!$cm = get_coursemodule_from_instance('forum', $forum->id, $course->id)) {
error('Course Module ID was incorrect');
}
$discussions = get_records('discussions', 'forum', $forum->id); // TODO: improve
$discussions = get_records('forum_discussions', 'forum', $forum->id); // TODO: improve

foreach ($posts as $post) {
$discussion = $discussions[$forum->discussion];
Expand Down

0 comments on commit b8738cc

Please sign in to comment.