Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 4841fda1bc2d9e498a47f9e3415120452554b405 1 parent 5a7f931
David Mudrák mudrd8mz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mnet/service/enrol/course.php
2  mnet/service/enrol/course.php
View
@@ -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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.