diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:05:45 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:05:45 +0000 |
commit | 9ce11d138f9868b872fe8206dbc3c2f44723605a (patch) | |
tree | 273a2aed762c62eea3ac329649b42326a2d91438 /views/default/icon/user | |
parent | 76e70b79acc60358a7225c0976fd6b7f2fe3c74f (diff) | |
download | elgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.gz elgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.bz2 |
Fixes #2808: elgg_get_array_value => elgg_extract
git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/icon/user')
-rw-r--r-- | views/default/icon/user/default.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/default/icon/user/default.php b/views/default/icon/user/default.php index 9d5a862d8..a288358a2 100644 --- a/views/default/icon/user/default.php +++ b/views/default/icon/user/default.php @@ -10,8 +10,8 @@ * @uses $vars['hover'] Display the hover menu? (true) */ -$user = elgg_get_array_value('entity', $vars, elgg_get_logged_in_user_entity()); -$size = elgg_get_array_value('size', $vars, 'medium'); +$user = elgg_extract('entity', $vars, elgg_get_logged_in_user_entity()); +$size = elgg_extract('size', $vars, 'medium'); if (!in_array($size, array('topbar', 'tiny', 'small', 'medium', 'large', 'master'))) { $size = 'medium'; } @@ -28,9 +28,9 @@ if (!$icontime) { $icontime = "default"; } -$js = elgg_get_array_value('js', $vars, ''); +$js = elgg_extract('js', $vars, ''); -$hover = elgg_get_array_value('hover', $vars, true); +$hover = elgg_extract('hover', $vars, true); $spacer_url = elgg_get_site_url() . '_graphics/spacer.gif'; |