diff --git a/blocks/online_users/block_online_users.php b/blocks/online_users/block_online_users.php index 6c6d2539b40f2..7ab50acab1e16 100644 --- a/blocks/online_users/block_online_users.php +++ b/blocks/online_users/block_online_users.php @@ -150,9 +150,8 @@ function get_content() { $this->content->text .= get_string('guestuser').''; } else { - $this->content->text .= '
'; $this->content->text .= '
'.$OUTPUT->user_picture($user, array('size'=>16)); - $this->content->text .= $user->fullname.'
'; + $this->content->text .= ''.$user->fullname.'
'; } if ($canshowicon and ($USER->id != $user->id) and $user->username != 'guest') { // Only when logged in and messaging active etc $this->content->text .= '
'