Merge branch 'MDL-62383-34' of git://github.com/junpataleta/moodle into MOODLE_34_STABLE

This commit is contained in:
Jake Dallimore
2018-05-10 10:03:57 +08:00
@@ -55,6 +55,7 @@ class contextlist extends contextlist_base {
$contextids[] = $context->ctxid;
\context_helper::preload_from_record($context);
}
$contexts->close();
$this->set_contextids(array_merge($this->get_contextids(), $contextids));