diff options
-rw-r--r-- | mod/messages/views/default/messages/topbar.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/messages/views/default/messages/topbar.php b/mod/messages/views/default/messages/topbar.php index b859b3aee..90a227f80 100644 --- a/mod/messages/views/default/messages/topbar.php +++ b/mod/messages/views/default/messages/topbar.php @@ -16,11 +16,11 @@ $class = "elgg-icon messages-icon"; $text = " "; if ($num_messages != 0) { $class = "$class new"; - $text = "<span>$num_messages</span>"; + $text = $num_messages; } +$text = "<span class='$class'>$text</span>"; echo elgg_view('output/url', array( 'href' => 'pg/messages/inbox/' . elgg_get_logged_in_user_entity()->username, 'text' => $text, - 'class' => $class, )); |