diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-19 06:58:03 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-19 06:58:03 -0700 |
commit | 6695b4a203ab03941c8b3305a3e55cc02b85a5ac (patch) | |
tree | 47af4ee89d71b4c0584ae30da1883d5ae9e933a2 /mod/dfrn_confirm.php | |
parent | bbe53699f26bfa4e4d17da097fd8f2fc14da47dd (diff) | |
download | volse-hubzilla-6695b4a203ab03941c8b3305a3e55cc02b85a5ac.tar.gz volse-hubzilla-6695b4a203ab03941c8b3305a3e55cc02b85a5ac.tar.bz2 volse-hubzilla-6695b4a203ab03941c8b3305a3e55cc02b85a5ac.zip |
more bugs
Diffstat (limited to 'mod/dfrn_confirm.php')
-rw-r--r-- | mod/dfrn_confirm.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index e02fbf3d0..1a3947d97 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -136,7 +136,7 @@ function dfrn_confirm_post(&$a) { $thumb = $a->get_baseurl() . '/images/default-profile-sm.jpg'; } - $r = q("UPDATE `contact` SET `photo` = '%s', `thumb` = '%s', `blocked` = 0 WHERE `id` = %d LIMIT 1", + $r = q("UPDATE `contact` SET `photo` = '%s', `thumb` = '%s', `blocked` = 0, `pending` = 0 WHERE `id` = %d LIMIT 1", dbesc($photo), dbesc($thumb), intval($dfrn_record) @@ -361,7 +361,7 @@ function dfrn_confirm_post(&$a) { $thumb = $a->get_baseurl() . '/images/default-profile-sm.jpg'; } - $r = q("UPDATE `contact` SET `photo` = '%s', `thumb` = '%s', `blocked` = 0 WHERE `id` = %d LIMIT 1", + $r = q("UPDATE `contact` SET `photo` = '%s', `thumb` = '%s', `blocked` = 0, `pending` = 0 WHERE `id` = %d LIMIT 1", dbesc($photo), dbesc($thumb), intval($contact_id) |