mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
MDL-34234 course: Fixed notice causing issues in JS when upgrade settings for 2.3+ not run
This commit is contained in:
parent
5d6285c220
commit
10654e32e2
@ -512,8 +512,8 @@ function resource_dndupload_handle($uploadinfo) {
|
||||
$data->popupwidth = $config->popupwidth;
|
||||
$data->printheading = $config->printheading;
|
||||
$data->printintro = $config->printintro;
|
||||
$data->showsize = $config->showsize;
|
||||
$data->showtype = $config->showtype;
|
||||
$data->showsize = (isset($config->showsize)) ? $config->showsize : 0;
|
||||
$data->showtype = (isset($config->showtype)) ? $config->showtype : 0;
|
||||
$data->filterfiles = $config->filterfiles;
|
||||
|
||||
return resource_add_instance($data, null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user