Changed parameter order for "getbyURLForUser"

This commit is contained in:
Michael 2020-07-15 17:22:12 +00:00
parent fc0312451d
commit e374aecc46
11 changed files with 14 additions and 14 deletions

View file

@ -755,7 +755,7 @@ class DFRN
{
$author = $doc->createElement($element);
$contact = Contact::getByURLForUser($contact_url, $item["uid"], ['url', 'name', 'addr', 'photo']);
$contact = Contact::getByURLForUser($contact_url, $item["uid"], null, ['url', 'name', 'addr', 'photo']);
if (!empty($contact)) {
XML::addElement($doc, $author, "name", $contact["name"]);
XML::addElement($doc, $author, "uri", $contact["url"]);