X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fdfrn_confirm.php;h=564ae5ca2346a952e4ccf750c30bdd8b43d7012d;hb=b6fe837a643c9c7bb63a5196d4d14c508f3fce55;hp=093993bbc429070fd5a9d529ede1d3ef0c497a03;hpb=afaf9ec74fe0662de76deabd11d630f871802579;p=friendica.git 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