Skip to content

Commit 8be3250

Browse files
committed
MDL-24321 switching to stdClass in /files/
1 parent 94b9c2e commit 8be3250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/coursefilesedit.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
$PAGE->set_heading($heading);
4646
$PAGE->set_pagelayout('course');
4747

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

0 commit comments

Comments
 (0)