]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong parameter order
authorMichael <heluecht@pirati.ca>
Wed, 5 Aug 2020 12:57:02 +0000 (12:57 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 5 Aug 2020 12:57:02 +0000 (12:57 +0000)
view/theme/frio/theme.php

index dcbeccc301ee487598af535aa44e0ffd0999be91..4b070e99af53e21ad825154d91632d25c3a3890e 100644 (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::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;
                $nav['remote'] = DI::l10n()->t('Visitor');
        } else {
                $remoteUser = null;