]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Avoid E_NOTICE spew when listing group members who aren't admins
authorBrion Vibber <brion@pobox.com>
Fri, 9 Apr 2010 15:36:13 +0000 (08:36 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 9 Apr 2010 15:37:24 +0000 (08:37 -0700)
actions/foafgroup.php

index 07cca318114445dfc5a4f5ae3248186e7fea630c..4db40c28bef2529e7407065bb837490e50abfc5e 100644 (file)
@@ -126,7 +126,8 @@ class FoafGroupAction extends Action
         while ($members->fetch()) {
             $member_uri = common_local_url('userbyid', array('id'=>$members->id));
             $member_details[$member_uri] = array(
-                                        'nickname' => $members->nickname
+                                        'nickname' => $members->nickname,
+                                        'is_admin' => false,
                                         );
             $this->element('member', array('rdf:resource' => $member_uri));
         }