Merge pull request #7820 from annando/fix-warning

Fix a notice
This commit is contained in:
Hypolite Petovan
2019-11-06 15:23:33 -05:00
committed by GitHub

View File

@@ -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 {