]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Autocomplete: Fix $profile being null for groups
authorChimo <chimo@chromic.org>
Wed, 16 Dec 2015 02:48:18 +0000 (21:48 -0500)
committerChimo <chimo@chromic.org>
Wed, 16 Dec 2015 02:48:18 +0000 (21:48 -0500)
plugins/Autocomplete/actions/autocomplete.php

index d5370fe0e1e66eeaf383de3cf62fdaec58342c9b..29921a5564a377db07c9fc79cfde3cc33b22d919 100644 (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;