]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #9575 from MrPetovan/bug/9564-registration-ping
authorMichael Vogel <icarus@dabo.de>
Sun, 22 Nov 2020 06:51:23 +0000 (07:51 +0100)
committerGitHub <noreply@github.com>
Sun, 22 Nov 2020 06:51:23 +0000 (07:51 +0100)
Fix wrong variable name in ping_init

mod/ping.php

index df6793f3c6542798eb845d64429de30d34b56d62..b588c1fb0baf2d2fa37664b2532539b8049f76e9 100644 (file)
@@ -301,7 +301,7 @@ function ping_init(App $a)
                                                'seen'    => false,
                                                'message' => DI::l10n()->t('{0} requested registration'),
                                        ];
-                                       $notifs[] = $notif;
+                                       $notifications[] = $notif;
                                }
                        } else {
                                $notif = [