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

@ -150,7 +150,7 @@ class Item
// Try to detect the contact in various ways
if (strpos($name, 'http://') || strpos($name, '@')) {
$contact = Contact::getByURLForUser($name, $profile_uid, []);
$contact = Contact::getByURLForUser($name, $profile_uid);
} else {
$contact = false;
$fields = ['id', 'url', 'nick', 'name', 'alias', 'network', 'forum', 'prv'];