Avoid E_NOTICE spew when listing group members who aren't admins

This commit is contained in:
Brion Vibber 2010-04-09 08:36:13 -07:00
parent a93d0dc16a
commit 7baf671570

View 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));
}