Fix wrong parameter order

2022.09-rc
Michael 2020-08-05 12:57:02 +00:00
rodzic 603b1f965d
commit d56ac8d58f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;