]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix !group autocomplete
authorChimo <chimo@chromic.org>
Tue, 23 Feb 2016 01:33:25 +0000 (20:33 -0500)
committerChimo <chimo@chromic.org>
Wed, 24 Feb 2016 18:00:15 +0000 (13:00 -0500)
"Call to undefined method User_group::getFullname"

classes/User_group.php

index 2484f3f265252d8c375684b983cd5bac22bb1175..ecec1ee663d5d1de785c1c72916b85bf0cfeda86 100644 (file)
@@ -105,6 +105,11 @@ class User_group extends Managed_DataObject
         return $this->getProfile()->getNickname();
     }
 
+    public function getFullname()
+    {
+        return $this->getProfile()->getFullname();
+    }
+
     public static function defaultLogo($size)
     {
         static $sizenames = array(AVATAR_PROFILE_SIZE => 'profile',