mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Langfilter: Use two letter code for the language / Bluesky: Remove callstack
This commit is contained in:
parent
74c56c32b0
commit
6948a15f1c
2 changed files with 3 additions and 4 deletions
|
@ -163,7 +163,7 @@ function langfilter_prepare_body_content_filter(&$hook_data)
|
|||
return;
|
||||
}
|
||||
|
||||
$lang = $iso639->languageByCode1($iso2);
|
||||
$lang = $iso639->languageByCode1(substr($iso2, 0, 2));
|
||||
} else {
|
||||
$opts = $hook_data['item']['postopts'];
|
||||
if (!$opts) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue