diff options
author | Brion Vibber <brion@pobox.com> | 2010-04-09 08:36:13 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-09 08:37:24 -0700 |
commit | 2be04e2a631ea9f373386bed792e7233418e2ee2 (patch) | |
tree | dca6a6392a1172ce9522301128228aaf75f9d67c /actions | |
parent | eefde36fcf5c24c55fb8906374bac5c4c370cb54 (diff) |
Avoid E_NOTICE spew when listing group members who aren't admins
Diffstat (limited to 'actions')
-rw-r--r-- | actions/foafgroup.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/foafgroup.php b/actions/foafgroup.php index 07cca3181..4db40c28b 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)); } |