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