Fix wrong parameter order
This commit is contained in:
parent
603b1f965d
commit
d56ac8d58f
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ function frio_remote_nav($a, &$nav)
|
||||||
$remoteUser = Contact::getById(remote_user(), $fields);
|
$remoteUser = Contact::getById(remote_user(), $fields);
|
||||||
$nav['remote'] = DI::l10n()->t('Guest');
|
$nav['remote'] = DI::l10n()->t('Guest');
|
||||||
} elseif (Model\Profile::getMyURL()) {
|
} elseif (Model\Profile::getMyURL()) {
|
||||||
$remoteUser = Contact::getByURL($homelink, $fields);
|
$remoteUser = Contact::getByURL($homelink, null, $fields);
|
||||||
$nav['remote'] = DI::l10n()->t('Visitor');
|
$nav['remote'] = DI::l10n()->t('Visitor');
|
||||||
} else {
|
} else {
|
||||||
$remoteUser = null;
|
$remoteUser = null;
|
||||||
|
|
Loading…
Reference in a new issue