nitter: typo in variable name
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 9 Sep 2021 12:20:58 +0000 (14:20 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 9 Sep 2021 12:20:58 +0000 (14:20 +0200)
nitter/nitter.php

index e8f3bcd..13b823b 100644 (file)
@@ -71,7 +71,7 @@ function nitter_render(&$a, &$o)
                $o['html'] = str_replace('https://twitter.com', $nitter, $o['html']);
                $replace = true;
        }
-       if ($replace) {
+       if ($replaced) {
                $o['html'] .= '<hr><p>' . DI::l10n()->t('Links to Twitter in this posting were replaced by links to the Nitter instance at %s', $nitter) . '</p>';
        }
 }