redirection to wrong profile in multi-user mode

This commit is contained in:
Mike Macgirvin 2010-09-09 17:09:38 -07:00
parent 62fdf346ff
commit 440a3fea3f
2 changed files with 26 additions and 18 deletions

View file

@ -370,7 +370,8 @@ function dfrn_confirm_post(&$a) {
`uri-date` = '%s',
`avatar-date` = '%s',
`blocked` = 0,
`pending` = 0,
`pending` = 0,
`duplex` = %d,
`network` = 'dfrn' WHERE `id` = %d LIMIT 1
",
dbesc($photo),
@ -379,6 +380,7 @@ function dfrn_confirm_post(&$a) {
dbesc(datetime_convert()),
dbesc(datetime_convert()),
dbesc(datetime_convert()),
intval($duplex),
intval($contact_id)
);
if($r === false)