Skip to content

Commit

Permalink
MDL-46465 mod_chat: Fix more user icon links
Browse files Browse the repository at this point in the history
  • Loading branch information
John Okely committed Jul 31, 2014
1 parent 5eb1703 commit 56302d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/chat/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 56302d4

Please sign in to comment.