]> git.mxchange.org Git - friendica.git/commitdiff
Remove a notice about a missing variable
authorMichael <heluecht@pirati.ca>
Wed, 5 Feb 2020 21:40:35 +0000 (21:40 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 5 Feb 2020 21:40:35 +0000 (21:40 +0000)
src/Module/Notifications/Introductions.php

index 8ca4723cf354b4b28b59dda332e3c59e2ad20a77..0283ec8f49914e5a06bff438009216b1fab98ca9 100644 (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?');