From ec3c2d44769f723e048dfd565dec0dceccae850e Mon Sep 17 00:00:00 2001 From: Steve Clay Date: Thu, 3 May 2012 15:58:41 -0300 Subject: [PATCH] Remove use of deprecated entity->getIcon() --- procedures/group_invite_autocomplete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/procedures/group_invite_autocomplete.php b/procedures/group_invite_autocomplete.php index 3bfa9d38..5de46142 100644 --- a/procedures/group_invite_autocomplete.php +++ b/procedures/group_invite_autocomplete.php @@ -55,7 +55,7 @@ if($entities = elgg_get_entities_from_relationship($query_options)){ foreach($entities as $entity){ if(!check_entity_relationship($entity->getGUID(), "member", $group_guid)){ - $result .= "user|" . $entity->getGUID() . "|" . $entity->name . "|" . $entity->getIcon("tiny") . "\n"; + $result .= "user|" . $entity->getGUID() . "|" . $entity->name . "|" . $entity->getIconURL("tiny") . "\n"; } } } @@ -65,7 +65,7 @@ if(preg_match($regexpr, $q)){ if($users = get_user_by_email($q)){ foreach($users as $user){ - $result .= "user|" . $user->getGUID() . "|" . $user->name . "|" . $user->getIcon("tiny") . "\n"; + $result .= "user|" . $user->getGUID() . "|" . $user->name . "|" . $user->getIconURL("tiny") . "\n"; } } else { $result .= "email|" . $q . "\n";