From: Tobias Diekershoff Date: Thu, 9 Sep 2021 12:20:58 +0000 (+0200) Subject: nitter: typo in variable name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b97d856379c35bb898e5461c7893926106cc8b20;p=friendica-addons.git nitter: typo in variable name --- diff --git a/nitter/nitter.php b/nitter/nitter.php index e8f3bcdb..13b823b4 100644 --- a/nitter/nitter.php +++ b/nitter/nitter.php @@ -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'] .= '

' . DI::l10n()->t('Links to Twitter in this posting were replaced by links to the Nitter instance at %s', $nitter) . '

'; } }