Fix wrong expected DB field name in DFRN::fetchauthor

2022.09-rc
Hypolite Petovan 2020-09-16 22:45:51 -04:00
rodzic de3ed5faf4
commit a705db27c2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;