diff options
author | friendica <info@friendica.com> | 2012-05-25 18:06:51 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-05-25 18:06:51 -0700 |
commit | bb4712b171f1c5ee02a49afc9ebff9bb8af3b052 (patch) | |
tree | beec9317b18002ab7bc51e72978e0c77e55ed70d /mod/dfrn_confirm.php | |
parent | 0ef8ccf11bbc6f353610b0a67c203a7f8438387b (diff) | |
download | volse-hubzilla-bb4712b171f1c5ee02a49afc9ebff9bb8af3b052.tar.gz volse-hubzilla-bb4712b171f1c5ee02a49afc9ebff9bb8af3b052.tar.bz2 volse-hubzilla-bb4712b171f1c5ee02a49afc9ebff9bb8af3b052.zip |
bug #434 - default group placement not working after accepting dfrn friend request
Diffstat (limited to 'mod/dfrn_confirm.php')
-rw-r--r-- | mod/dfrn_confirm.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index 093993bbc..564ae5ca2 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -500,7 +500,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { ); if($contact && $g && intval($g[0]['def_gid'])) { require_once('include/group.php'); - group_add_member($uid,'',$contact[0]['id'],$g[0]['def_gid']); + group_add_member($uid,'',$contact['id'],$g[0]['def_gid']); } // Let's send our user to the contact editor in case they want to |