nitter: typo in variable name

pull/1167/head
Tobias Diekershoff 2021-09-09 14:20:58 +02:00
parent 28e70485c5
commit b97d856379
1 changed files with 1 additions and 1 deletions

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>';
} }
} }