From: Michael Date: Wed, 5 Feb 2020 21:40:35 +0000 (+0000) Subject: Remove a notice about a missing variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5bbe02dcaeb7e006cca80523750aea767ecc594e;p=friendica.git Remove a notice about a missing variable --- diff --git a/src/Module/Notifications/Introductions.php b/src/Module/Notifications/Introductions.php index 8ca4723cf3..0283ec8f49 100644 --- a/src/Module/Notifications/Introductions.php +++ b/src/Module/Notifications/Introductions.php @@ -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?');