Skip to content

Commit

Permalink
MDL-24321 switching to stdClass in /files/
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 21, 2010
1 parent 94b9c2e commit 8be3250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/coursefilesedit.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
$PAGE->set_heading($heading);
$PAGE->set_pagelayout('course');

$data = new object();
$data = new stdClass();
$options = array('subdirs'=>1, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL);
file_prepare_standard_filemanager($data, 'files', $options, $context, $component, $filearea, $itemid);
$form = new coursefiles_edit_form(null, array('data'=>$data, 'contextid'=>$contextid));
Expand Down

0 comments on commit 8be3250

Please sign in to comment.