From: Brion Vibber Date: Fri, 9 Apr 2010 15:36:13 +0000 (-0700) Subject: Avoid E_NOTICE spew when listing group members who aren't admins X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2be04e2a631ea9f373386bed792e7233418e2ee2;p=quix0rs-gnu-social.git Avoid E_NOTICE spew when listing group members who aren't admins --- diff --git a/actions/foafgroup.php b/actions/foafgroup.php index 07cca31811..4db40c28be 100644 --- a/actions/foafgroup.php +++ b/actions/foafgroup.php @@ -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)); }