Skip to content

Commit

Permalink
Merge pull request #10 from mrclay/patch-4
Browse files Browse the repository at this point in the history
Remove use of deprecated entity->getIcon()
  • Loading branch information
jeabakker committed May 4, 2012
2 parents 817f227 + ec3c2d4 commit c12be06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions procedures/group_invite_autocomplete.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
}
}
Expand All @@ -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";
Expand Down

0 comments on commit c12be06

Please sign in to comment.