Format the group description

This commit is contained in:
moodler 2004-02-15 09:29:20 +00:00
parent b6ee2d82ea
commit 2ad0d1da3c

View File

@ -58,6 +58,7 @@
$isteacheredit = isteacheredit($course->id); $isteacheredit = isteacheredit($course->id);
foreach ($groups as $group) { foreach ($groups as $group) {
$t = $group; $t = $group;
$t->description = format_text($group->description);
$t->picture = print_group_picture($group, $course->id, true, true, true); $t->picture = print_group_picture($group, $course->id, true, true, true);
if ($t->users = get_users_in_group($group->id, 'u.lastname ASC')) { if ($t->users = get_users_in_group($group->id, 'u.lastname ASC')) {
foreach ($t->users as $key => $user) { foreach ($t->users as $key => $user) {