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:38:42 -0700 |
commit | 7baf671570b1190c54c9b7e763fdaf0ab454b6a7 (patch) | |
tree | 7b5474b59499308ba226fc13a02bb087bd0b73b4 | |
parent | a93d0dc16af0438af59d14f8413dabb80c13b707 (diff) |
Avoid E_NOTICE spew when listing group members who aren't admins
-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)); } |