MDL-16374 support for file browsing in modules

This commit is contained in:
skodak 2008-09-06 18:07:17 +00:00
parent d6f7cbfd98
commit 38b4de5258

View File

@ -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);
}
}
}