MDL-42033 Files in subdirs not exported correctly by question XML format

This commit is contained in:
Jean-Michel Vedrine 2013-09-29 08:14:32 +02:00
parent 692d247a3a
commit 624ff5ba57
3 changed files with 58 additions and 9 deletions

View file

@ -387,7 +387,7 @@ class qformat_default {
$question->modifiedby = $USER->id;
$question->timemodified = time();
$fileoptions = array(
'subdirs' => false,
'subdirs' => true,
'maxfiles' => -1,
'maxbytes' => 0,
);