Merge pull request #8241 from annando/notice
Remove a notice about a missing variable
This commit is contained in:
commit
b6764468e0
1 changed files with 3 additions and 0 deletions
|
@ -98,6 +98,9 @@ class Introductions extends BaseNotifications
|
||||||
if ($notification->getNetwork() === Protocol::DFRN) {
|
if ($notification->getNetwork() === Protocol::DFRN) {
|
||||||
$lbl_knowyou = DI::l10n()->t('Claims to be known to you: ');
|
$lbl_knowyou = DI::l10n()->t('Claims to be known to you: ');
|
||||||
$knowyou = ($notification->getKnowYou() ? DI::l10n()->t('yes') : DI::l10n()->t('no'));
|
$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?');
|
$helptext = DI::l10n()->t('Shall your connection be bidirectional or not?');
|
||||||
|
|
Loading…
Reference in a new issue