set network correctly - dfrn_confirm
This commit is contained in:
parent
fcf6651299
commit
3a0727d496
|
@ -341,6 +341,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
|
||||||
else {
|
else {
|
||||||
// $network !== 'dfrn'
|
// $network !== 'dfrn'
|
||||||
|
|
||||||
|
$network = (($contact['network']) ? $contact['network'] : 'stat');
|
||||||
$notify = (($contact['notify']) ? $contact['notify'] : '');
|
$notify = (($contact['notify']) ? $contact['notify'] : '');
|
||||||
$poll = (($contact['poll']) ? $contact['poll'] : '');
|
$poll = (($contact['poll']) ? $contact['poll'] : '');
|
||||||
|
|
||||||
|
@ -372,7 +373,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
|
||||||
`poll` = '%s',
|
`poll` = '%s',
|
||||||
`blocked` = 0,
|
`blocked` = 0,
|
||||||
`pending` = 0,
|
`pending` = 0,
|
||||||
`network` = 'stat'
|
`network` = '%s'
|
||||||
WHERE `id` = %d LIMIT 1
|
WHERE `id` = %d LIMIT 1
|
||||||
",
|
",
|
||||||
dbesc($photos[0]),
|
dbesc($photos[0]),
|
||||||
|
@ -383,6 +384,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
|
||||||
dbesc(datetime_convert()),
|
dbesc(datetime_convert()),
|
||||||
dbesc($notify),
|
dbesc($notify),
|
||||||
dbesc($poll),
|
dbesc($poll),
|
||||||
|
dbesc($network),
|
||||||
intval($contact_id)
|
intval($contact_id)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue