MDL-22574, fixed file type
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user