diff --git a/course/social.php b/course/social.php index aae3dce78c6..c66700ba5c7 100644 --- a/course/social.php +++ b/course/social.php @@ -12,16 +12,16 @@ id\">".get_string("participants").""; - $modicon[]="\"\""; - $editmyprofile = "firstname $USER->lastname\" HREF=\"../user/edit.php?id=$USER->id&course=$course->id\">". + $moddata[]="id\">".get_string("participants").""; + $modicon[]="\"\""; + $editmyprofile = "firstname $USER->lastname\" href=\"../user/edit.php?id=$USER->id&course=$course->id\">". get_string("editmyprofile").""; if ($USER->description) { $moddata[]= $editmyprofile; } else { - $moddata[]= $editmyprofile." *"; + $moddata[]= $editmyprofile." *"; } - $modicon[]="\"\""; + $modicon[]="\"\""; print_side_block(get_string("people"), "", $moddata, $modicon, "", $leftwidth);