else {
// $network !== 'dfrn'
+ $network = (($contact['network']) ? $contact['network'] : 'stat');
$notify = (($contact['notify']) ? $contact['notify'] : '');
$poll = (($contact['poll']) ? $contact['poll'] : '');
`poll` = '%s',
`blocked` = 0,
`pending` = 0,
- `network` = 'stat'
+ `network` = '%s'
WHERE `id` = %d LIMIT 1
",
dbesc($photos[0]),
dbesc(datetime_convert()),
dbesc($notify),
dbesc($poll),
+ dbesc($network),
intval($contact_id)
);
}