mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-22574, fixed file type
This commit is contained in:
parent
8b8aa0605f
commit
2bed95e962
@ -16,7 +16,7 @@ class admin_uploadpicture_form extends moodleform {
|
||||
|
||||
|
||||
$options = array();
|
||||
$options['filetypes'] = array('archive');
|
||||
$options['accepted_types'] = array('archive');
|
||||
$mform->addElement('filepicker', 'userpicturesfile', get_string('file'), 'size="40"', $options);
|
||||
$mform->addRule('userpicturesfile', null, 'required');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user