frio - fixed bug in user menu for visitors - see after-merge discussion in #6526

This commit is contained in:
Peter Liebetrau 2019-01-26 23:02:23 +01:00
parent 7918e41097
commit 189e179088

View file

@ -243,6 +243,7 @@ function frio_remote_nav($a, &$nav)
WHERE `addr` = '%s' AND `network` = 'dfrn'", WHERE `addr` = '%s' AND `network` = 'dfrn'",
DBA::escape($webbie)); DBA::escape($webbie));
$nav['remote'] = L10n::t('Visitor'); $nav['remote'] = L10n::t('Visitor');
$remoteUser = $r[0];
} else { } else {
$r = false; $r = false;
} }