MDL-46465 mod_chat: Fix chat history user icon link

This commit is contained in:
John Okely 2014-07-31 10:22:48 +08:00
parent c44012e09e
commit 5eb1703c71

View File

@ -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&amp;course=$courseid')\"".
$message->picture .= " href=\"$CFG->wwwroot/user/view.php?id=$sender->id&amp;course=$courseid\">$message->picture</a>";
" href=\"$CFG->wwwroot/user/view.php?id=$sender->id&amp;course=$courseid\">$message->picture</a>";
}
// Calculate the row class.