Permalink
Browse files

NOMDL MNet: Fixed incorrect remote course ID passed

The param is deprecated anyway, it had to be blindly copied from a
legacy code.
  • Loading branch information...
1 parent 5a7f931 commit 4841fda1bc2d9e498a47f9e3415120452554b405 @mudrd8mz mudrd8mz committed Jan 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mnet/service/enrol/course.php
View
2 mnet/service/enrol/course.php
@@ -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();
}

0 comments on commit 4841fda

Please sign in to comment.