Permalink
Browse files

Merge branch 'MDL-33325-m21' of git://github.com/ankitagarwal/moodle …

…into MOODLE_21_STABLE
  • Loading branch information...
2 parents ba459c4 + b284426 commit ab833c6ee4634cf67bd688eeb7780267c58cf013 Sam Hemelryk committed May 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/folder/edit.php
View
@@ -48,7 +48,7 @@
$data = new stdClass();
$data->id = $cm->id;
-$options = array('mainfile'=>true, 'subdirs'=>1, 'maxbytes'=>$CFG->maxbytes, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL);
+$options = array('subdirs'=>1, 'maxbytes'=>$CFG->maxbytes, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL);
file_prepare_standard_filemanager($data, 'files', $options, $context, 'mod_folder', 'content', 0);
$mform = new mod_folder_edit_form(null, array('data'=>$data, 'options'=>$options));

0 comments on commit ab833c6

Please sign in to comment.