Skip to content

Commit

Permalink
Fix for recent courselang stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Feb 10, 2004
1 parent 30c9a78 commit 9c84314
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mod/forum/lib.php
Expand Up @@ -231,6 +231,8 @@ function forum_cron () {
continue;
}

$CFG->courselang = $course->lang;

$groupmode = false;
if ($cm = get_coursemodule_from_instance("forum", $forum->id, $course->id)) {
if ($groupmode = groupmode($course, $cm)) { // Groups are being used
Expand Down

0 comments on commit 9c84314

Please sign in to comment.