MDL-46465 mod_chat: Fix more user icon links

This commit is contained in:
John Okely 2014-07-31 12:22:57 +08:00
parent 5eb1703c71
commit 56302d4868

View File

@ -909,7 +909,7 @@ function chat_format_message_theme ($message, $chatuser, $currentuser, $grouping
$message->picture = $OUTPUT->user_picture($sender, array('courseid' => $courseid));
$message->picture = "<a target='_blank'".
$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>";
// Start processing the message.
if (!empty($message->system)) {