From: cash Date: Mon, 29 Nov 2010 19:25:19 +0000 (+0000) Subject: Fixes #2694 fixed typo in join_group() X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9f2b0c180a49395ef449a77c27db098353fb5748;p=lorea%2Felgg.git Fixes #2694 fixed typo in join_group() git-svn-id: http://code.elgg.org/elgg/trunk@7473 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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;