Fix wrong parameter order

This commit is contained in:
Michael 2020-08-05 12:57:02 +00:00
parent 603b1f965d
commit d56ac8d58f
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ function frio_remote_nav($a, &$nav)
$remoteUser = Contact::getById(remote_user(), $fields);
$nav['remote'] = DI::l10n()->t('Guest');
} elseif (Model\Profile::getMyURL()) {
$remoteUser = Contact::getByURL($homelink, $fields);
$remoteUser = Contact::getByURL($homelink, null, $fields);
$nav['remote'] = DI::l10n()->t('Visitor');
} else {
$remoteUser = null;