From: Chimo Date: Wed, 16 Dec 2015 02:48:18 +0000 (-0500) Subject: Autocomplete: Fix $profile being null for groups X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d8092207c0849b41f8f1c6bc6f6f08276895b9fe;p=quix0rs-gnu-social.git Autocomplete: Fix $profile being null for groups --- diff --git a/plugins/Autocomplete/actions/autocomplete.php b/plugins/Autocomplete/actions/autocomplete.php index d5370fe0e1..29921a5564 100644 --- a/plugins/Autocomplete/actions/autocomplete.php +++ b/plugins/Autocomplete/actions/autocomplete.php @@ -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;