nitter: typo in variable name

This commit is contained in:
Tobias Diekershoff 2021-09-09 14:20:58 +02:00
parent 28e70485c5
commit b97d856379

View file

@ -71,7 +71,7 @@ function nitter_render(&$a, &$o)
$o['html'] = str_replace('https://twitter.com', $nitter, $o['html']); $o['html'] = str_replace('https://twitter.com', $nitter, $o['html']);
$replace = true; $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>'; $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>';
} }
} }