Merge pull request #9214 from MrPetovan/bug/9210-dfrn-contact-id

Fix wrong expected DB field name in DFRN::fetchauthor
This commit is contained in:
Michael Vogel 2020-09-17 06:41:17 +02:00 committed by GitHub
commit b2d2cbb67f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1513,7 +1513,7 @@ class DFRN
}
$author["contact-unknown"] = true;
$contact = Contact::getByURL($author["link"], null, ["contact-id", "network"]);
$contact = Contact::getByURL($author["link"], null, ["id", "network"]);
$author["contact-id"] = $contact["id"] ?? $importer["id"];
$author["network"] = $contact["network"] ?? $importer["network"];
$onlyfetch = true;