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 提交者 GitHub
當前提交 f21edefe15
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

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