diff --git a/blocks/online_users/block_online_users.php b/blocks/online_users/block_online_users.php
index 2efe9a276c5..77f8a69b749 100644
--- a/blocks/online_users/block_online_users.php
+++ b/blocks/online_users/block_online_users.php
@@ -151,12 +151,13 @@ class block_online_users extends block_base {
$timeago = format_time($now - $user->lastaccess); //bruno to calculate correctly on frontpage
if (isguestuser($user)) {
- $this->content->text .= '
'.$OUTPUT->user_picture($user, array('size'=>16));
+ $this->content->text .= '
'.$OUTPUT->user_picture($user, array('size'=>16, 'alttext'=>false));
$this->content->text .= get_string('guestuser').'
';
} else {
- $this->content->text .= '
'.$OUTPUT->user_picture($user, array('size'=>16));
- $this->content->text .= '
'.$user->fullname.'';
+ $this->content->text .= '
';
}
if ($canshowicon and ($USER->id != $user->id) and !isguestuser($user)) { // Only when logged in and messaging active etc
$anchortagcontents = '
 . ')
';