nitter: typo in variable name
This commit is contained in:
parent
28e70485c5
commit
b97d856379
|
@ -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>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue