diff --git a/lib/file/file_browser.php b/lib/file/file_browser.php index 9c3cffa88c8..67085de1f55 100644 --- a/lib/file/file_browser.php +++ b/lib/file/file_browser.php @@ -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); } } }