mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
MDL-46465 mod_chat: Fix chat history user icon link
This commit is contained in:
parent
c44012e09e
commit
5eb1703c71
@ -723,7 +723,7 @@ function chat_format_message_manually($message, $courseid, $sender, $currentuser
|
||||
|
||||
if ($courseid) {
|
||||
$message->picture = "<a onclick=\"window.open('$CFG->wwwroot/user/view.php?id=$sender->id&course=$courseid')\"".
|
||||
$message->picture .= " href=\"$CFG->wwwroot/user/view.php?id=$sender->id&course=$courseid\">$message->picture</a>";
|
||||
" href=\"$CFG->wwwroot/user/view.php?id=$sender->id&course=$courseid\">$message->picture</a>";
|
||||
}
|
||||
|
||||
// Calculate the row class.
|
||||
|
Loading…
x
Reference in New Issue
Block a user