Changed parameter order for "getbyURLForUser"
This commit is contained in:
@@ -65,7 +65,7 @@ class Hovercard extends BaseModule
|
||||
// Search for contact data
|
||||
// Look if the local user has got the contact
|
||||
if (Session::isAuthenticated()) {
|
||||
$contact = Contact::getByURLForUser($contact_url, local_user(), [], false);
|
||||
$contact = Contact::getByURLForUser($contact_url, local_user(), false);
|
||||
} else {
|
||||
$contact = Contact::getByURL($contact_url, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user