From: friendica Date: Sat, 26 May 2012 01:06:51 +0000 (-0700) Subject: bug #434 - default group placement not working after accepting dfrn friend request X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bb4712b171f1c5ee02a49afc9ebff9bb8af3b052;p=friendica.git bug #434 - default group placement not working after accepting dfrn friend request --- diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index 093993bbc4..564ae5ca23 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