Merge pull request #7820 from annando/fix-warning

Fix a notice
这个提交包含在:
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 {