diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/users.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index 0b620e578..318cd71bd 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -1502,10 +1502,11 @@ function users_pagesetup() { 'contexts' => array('profile_edit'), )); + $icon_url = $user->getIconURL('topbar'); elgg_register_menu_item('topbar', array( 'name' => 'profile', 'href' => $user->getURL(), - 'text' => "<img src=\"{$user->getIconURL('topbar')}\" alt=\"$user->name\" />", + 'text' => "<img src=\"$icon_url\" alt=\"$user->name\" class=\"elgg-border-plain\" />", 'priority' => 100, )); |