diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-29 19:25:19 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-29 19:25:19 +0000 |
commit | 9f2b0c180a49395ef449a77c27db098353fb5748 (patch) | |
tree | 1ede64cf0c36984f22bcb3ad6226ad2bbce7ce8a /engine/lib | |
parent | a6a3f6dad489a5d2c0fdc2b869bac3a0a39952c7 (diff) | |
download | elgg-9f2b0c180a49395ef449a77c27db098353fb5748.tar.gz elgg-9f2b0c180a49395ef449a77c27db098353fb5748.tar.bz2 |
Fixes #2694 fixed typo in join_group()
git-svn-id: http://code.elgg.org/elgg/trunk@7473 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/group.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php index 3e2cc715b..c6bd27f2d 100644 --- a/engine/lib/group.php +++ b/engine/lib/group.php @@ -559,15 +559,15 @@ function is_group_member($group_guid, $user_guid) { /** * Join a user to a group. * - * @param int $group_guid The group. - * @param int $user_guid The user. + * @param int $group_guid The group GUID. + * @param int $user_guid The user GUID. * * @return bool */ function join_group($group_guid, $user_guid) { $result = add_entity_relationship($user_guid, 'member', $group_guid); - $param = array('group' => get_entity($group_guid), 'user' => get_entity($user_guid)); + $params = array('group' => get_entity($group_guid), 'user' => get_entity($user_guid)); elgg_trigger_event('join', 'group', $params); return $result; |