Autocomplete: Fix $profile being null for groups

This commit is contained in:
Chimo 2015-12-15 21:48:18 -05:00
parent bb0faaea56
commit d8092207c0

View File

@ -153,6 +153,7 @@ class AutocompleteAction extends Action
);
}
foreach($this->groups as $group){
$profile = $group->getProfile();
// sigh.... encapsulate this upstream!
if ($group->mini_logo) {
$avatarUrl = $group->mini_logo;