From d8092207c0849b41f8f1c6bc6f6f08276895b9fe Mon Sep 17 00:00:00 2001 From: Chimo Date: Tue, 15 Dec 2015 21:48:18 -0500 Subject: [PATCH] Autocomplete: Fix $profile being null for groups --- plugins/Autocomplete/actions/autocomplete.php | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5