diff options
author | Friendika <info@friendika.com> | 2011-08-14 05:26:44 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-14 05:26:44 -0700 |
commit | 3a0727d4961aa5743e1f9365c8a3848cfb24a66b (patch) | |
tree | d9eb7b0a4955d0710046b34cdb9371d9b3c63862 /mod/dfrn_confirm.php | |
parent | fcf6651299418f834076649f1fad4833476aad76 (diff) | |
download | volse-hubzilla-3a0727d4961aa5743e1f9365c8a3848cfb24a66b.tar.gz volse-hubzilla-3a0727d4961aa5743e1f9365c8a3848cfb24a66b.tar.bz2 volse-hubzilla-3a0727d4961aa5743e1f9365c8a3848cfb24a66b.zip |
set network correctly - dfrn_confirm
Diffstat (limited to 'mod/dfrn_confirm.php')
-rw-r--r-- | mod/dfrn_confirm.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index f0c86910b..c4feef8ff 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -341,6 +341,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { else { // $network !== 'dfrn' + $network = (($contact['network']) ? $contact['network'] : 'stat'); $notify = (($contact['notify']) ? $contact['notify'] : ''); $poll = (($contact['poll']) ? $contact['poll'] : ''); @@ -372,7 +373,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { `poll` = '%s', `blocked` = 0, `pending` = 0, - `network` = 'stat' + `network` = '%s' WHERE `id` = %d LIMIT 1 ", dbesc($photos[0]), @@ -383,6 +384,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { dbesc(datetime_convert()), dbesc($notify), dbesc($poll), + dbesc($network), intval($contact_id) ); } |