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 eefde36fcf
commit 2be04e2a63

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