MDL-65658 mod_forum: Group images links and titles groups
[moodle.git] / mod / forum / classes / local / exporters / discussion.php
index 16d682a..a008de4 100644 (file)
@@ -179,7 +179,7 @@ class discussion extends exporter {
                 ];
 
                 if (!$group->hidepicture) {
-                    $url = get_group_picture_url($group, $forum->get_course_id());
+                    $url = get_group_picture_url($group, $forum->get_course_id(), true);
                     if (!empty($url)) {
                         $groupdata['urls']['picture'] = $url;
                     }