]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong expected DB field name in DFRN::fetchauthor
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 17 Sep 2020 02:45:51 +0000 (22:45 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 17 Sep 2020 02:45:51 +0000 (22:45 -0400)
src/Protocol/DFRN.php

index 6dcd940e48de098782b786c263995e52c91409ab..78843a3f16b8e32a2cda12c625c6fb1d7f040ad8 100644 (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;