mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Changed parameter order for "getbyURLForUser"
This commit is contained in:
parent
fc0312451d
commit
e374aecc46
11 changed files with 14 additions and 14 deletions
|
@ -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"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue