Merge pull request #7820 from annando/fix-warning

Fix a notice
このコミットが含まれているのは:
Hypolite Petovan 2019-11-06 15:23:33 -05:00 committed by 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 {