Fix wrong expected DB field name in DFRN::fetchauthor
This commit is contained in:
parent
de3ed5faf4
commit
a705db27c2
|
@ -1513,7 +1513,7 @@ class DFRN
|
||||||
}
|
}
|
||||||
|
|
||||||
$author["contact-unknown"] = true;
|
$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["contact-id"] = $contact["id"] ?? $importer["id"];
|
||||||
$author["network"] = $contact["network"] ?? $importer["network"];
|
$author["network"] = $contact["network"] ?? $importer["network"];
|
||||||
$onlyfetch = true;
|
$onlyfetch = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user