Fix a notice
This commit is contained in:
parent
c961128416
commit
48ab31f451
|
@ -2476,7 +2476,7 @@ class Diaspora
|
|||
return false;
|
||||
}
|
||||
|
||||
$cid = Contact::getIdForURL($ret['url'], $uid);
|
||||
$cid = Contact::getIdForURL($ret['url'], $importer['uid']);
|
||||
if (!empty($cid)) {
|
||||
$contact = DBA::selectFirst('contact', [], ['id' => $cid, 'network' => Protocol::NATIVE_SUPPORT]);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user