Fix to update_module_icon (to pass the courseid)

This commit is contained in:
martin 2002-07-04 07:48:44 +00:00
parent ed5ab9f7f5
commit da8b7aa7a5
4 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@
if (! $forum = get_record("forum", "id", $cm->instance)) {
error("Forum ID was incorrect");
}
$buttontext = update_module_icon($cm->id);
$buttontext = update_module_icon($cm->id, $course->id);
} else if ($f) {
if (! $forum = get_record("forum", "id", $f)) {