Merge branch 'MDL-62383-master' of git://github.com/junpataleta/moodle

This commit is contained in:
Jake Dallimore 2018-05-10 10:03:32 +08:00
commit 84bc2245f7

View File

@ -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));