Skip to content

Commit

Permalink
NOMDL MNet: Fixed incorrect remote course ID passed
Browse files Browse the repository at this point in the history
The param is deprecated anyway, it had to be blindly copied from a
legacy code.
  • Loading branch information
mudrd8mz committed Jan 14, 2011
1 parent 5a7f931 commit 4841fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mnet/service/enrol/course.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
$options->noclean = false;
$options->overflowdiv = true;
print_collapsible_region_start('remotecourse summary', 'remotecourse-summary', get_string('coursesummary'), false, true);
echo format_text($course->summary, $course->summaryformat, $options, $course->id);
echo format_text($course->summary, $course->summaryformat, $options);
print_collapsible_region_end();
}

Expand Down

0 comments on commit 4841fda

Please sign in to comment.