Avoid E_NOTICE spew when listing group members who aren't admins
This commit is contained in:
parent
eefde36fcf
commit
2be04e2a63
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user