diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-18 21:19:11 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-18 21:19:11 +0000 |
commit | 53305ecf5ccd83618faebedb1ae9ef8e0ce61d8c (patch) | |
tree | ebc0a4461f498fe77156c3679f3c24df78a3d0c7 /mod | |
parent | 677e155a31776c63fbd5701f76302e422a0dadb9 (diff) | |
download | elgg-53305ecf5ccd83618faebedb1ae9ef8e0ce61d8c.tar.gz elgg-53305ecf5ccd83618faebedb1ae9ef8e0ce61d8c.tar.bz2 |
Merged r6506:6509 from 1.7 to trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@6516 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/actions/invite.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/actions/invite.php b/mod/groups/actions/invite.php index d2fd75c28..ba63b8e14 100644 --- a/mod/groups/actions/invite.php +++ b/mod/groups/actions/invite.php @@ -31,7 +31,7 @@ if (sizeof($user_guid)) if ( $user && $group) { - if (get_loggedin_userid() == $group->owner_guid) + if (($group instanceof ElggGroup) && ($group->canEdit())) { if (!check_entity_relationship($group->guid, 'invited', $user->guid)) { |