diff options
Diffstat (limited to 'mod/profile/views/default')
-rwxr-xr-x | mod/profile/views/default/profile/owner_block.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mod/profile/views/default/profile/owner_block.php b/mod/profile/views/default/profile/owner_block.php index 20555d260..e458469e4 100755 --- a/mod/profile/views/default/profile/owner_block.php +++ b/mod/profile/views/default/profile/owner_block.php @@ -11,11 +11,7 @@ if (!$user) { return TRUE; } -$icon = elgg_view("profile/icon", array( - 'entity' => $user, - 'size' => 'large', - 'override' => 'true' -)); +$icon = elgg_view_entity_icon($user, 'large', array('override' => 'true')); // grab the actions and admin menu items from user hover $menu = elgg_trigger_plugin_hook('register', "menu:user_hover", array('entity' => $user), array()); |