mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-58919-master-fix1' of https://github.com/snake/moodle
This commit is contained in:
commit
8c0b1ec32b
@ -71,10 +71,11 @@ class assign_submission_file extends assign_submission_plugin {
|
||||
|
||||
$defaultmaxfilesubmissions = $this->get_config('maxfilesubmissions');
|
||||
$defaultmaxsubmissionsizebytes = $this->get_config('maxsubmissionsizebytes');
|
||||
$defaultfiletypes = (string)$this->get_config('filetypeslist');
|
||||
if ($defaultfiletypes == '') {
|
||||
$defaultfiletypes = (string)get_config('assignsubmission_file', 'filetypes');
|
||||
$defaultfiletypes = $this->get_config('filetypeslist');
|
||||
if ($defaultfiletypes === false) {
|
||||
$defaultfiletypes = get_config('assignsubmission_file', 'filetypes');
|
||||
}
|
||||
$defaultfiletypes = (string)$defaultfiletypes;
|
||||
|
||||
$settings = array();
|
||||
$options = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user