From: Hypolite Petovan Date: Thu, 17 Sep 2020 02:45:51 +0000 (-0400) Subject: Fix wrong expected DB field name in DFRN::fetchauthor X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a705db27c2a0f2ebfa267bac86f6a00225c22bec;p=friendica.git Fix wrong expected DB field name in DFRN::fetchauthor --- diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 6dcd940e48..78843a3f16 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -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;