mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-16374 support for file browsing in modules
This commit is contained in:
parent
d6f7cbfd98
commit
38b4de5258
@ -258,7 +258,7 @@ class file_browser {
|
||||
} else {
|
||||
$fileinfofunction = $modname.'_get_file_info';
|
||||
if (function_exists($fileinfofunction)) {
|
||||
return $fileinfofunction($course, $cm, $context, $filearea);
|
||||
return $fileinfofunction($course, $cm, $context, $filearea, $itemid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user