aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-25 18:06:51 -0700
committerfriendica <info@friendica.com>2012-05-25 18:06:51 -0700
commitbb4712b171f1c5ee02a49afc9ebff9bb8af3b052 (patch)
treebeec9317b18002ab7bc51e72978e0c77e55ed70d
parent0ef8ccf11bbc6f353610b0a67c203a7f8438387b (diff)
downloadvolse-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
-rw-r--r--mod/dfrn_confirm.php2
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