Commit e7a3927c authored by unknown's avatar unknown

bugfix

parent 0462c6db
...@@ -402,7 +402,8 @@ $content .= " ...@@ -402,7 +402,8 @@ $content .= "
"; ";
// var_dump($COURSE->id); // var_dump($COURSE->id);
$context = context_module::instance($COURSE->id); //$context = context_module::instance($COURSE->id);
$context = context_course::instance($COURSE->id);
// var_dump($context); // var_dump($context);
// var_dump($context->_id); // var_dump($context->_id);
// var_dump($context->id); // var_dump($context->id);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment