Merge branch 'MDL-68847-37' of https://github.com/snake/moodle into MOODLE_37_STABLE

This commit is contained in:
Adrian Greeve
2020-05-28 16:31:43 +08:00
+1
View File
@@ -318,6 +318,7 @@ function url_dndupload_handle($uploadinfo) {
$data->introformat = FORMAT_HTML;
$data->externalurl = clean_param($uploadinfo->content, PARAM_URL);
$data->timemodified = time();
$data->coursemodule = $uploadinfo->coursemodule;
// Set the display options to the site defaults.
$config = get_config('url');