Merge branch 'MDL-70327-master' of git://github.com/cescobedo/moodle

This commit is contained in:
Andrew Nicols
2020-12-03 11:49:35 +08:00
+2 -1
View File
@@ -127,7 +127,8 @@ class player {
$url,
$config,
$this->factory,
$this->messages
$this->messages,
$this->preventredirect
);
if ($file) {
$this->context = \context::instance_by_id($file->get_contextid());