From 9ce11d138f9868b872fe8206dbc3c2f44723605a Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 15 Feb 2011 01:05:45 +0000 Subject: Fixes #2808: elgg_get_array_value => elgg_extract git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/icon/user/default.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'views/default/icon/user') 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'; -- cgit v1.2.3