mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Fix to update_module_icon (to pass the courseid)
This commit is contained in:
parent
ed5ab9f7f5
commit
da8b7aa7a5
4 changed files with 4 additions and 4 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue