1
0
Fork 0

Bugfix: Revive dead contacts

This commit is contained in:
Michael 2017-10-15 19:34:15 +00:00
commit 08f461f70c
5 changed files with 17 additions and 14 deletions

View file

@ -244,7 +244,7 @@ function _contact_update($contact_id) {
return;
if ($r[0]["network"] == NETWORK_OSTATUS) {
$result = new_contact($uid, $r[0]["url"], false);
$result = new_contact($uid, $r[0]["url"], false, $r[0]["network"]);
if ($result['success'])
$r = q("UPDATE `contact` SET `subhub` = 1 WHERE `id` = %d",