Remove a notice about a missing variable

This commit is contained in:
Michael 2020-02-05 21:40:35 +00:00
parent d8a19f7a27
commit 5bbe02dcae
1 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,9 @@ class Introductions extends BaseNotifications
if ($notification->getNetwork() === Protocol::DFRN) {
$lbl_knowyou = DI::l10n()->t('Claims to be known to you: ');
$knowyou = ($notification->getKnowYou() ? DI::l10n()->t('yes') : DI::l10n()->t('no'));
} else {
$lbl_knowyou = '';
$knowyou = '';
}
$helptext = DI::l10n()->t('Shall your connection be bidirectional or not?');