Merge pull request #8241 from annando/notice

Remove a notice about a missing variable
This commit is contained in:
Philipp 2020-02-05 22:41:54 +01:00 committed by GitHub
commit b6764468e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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?');