mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 07:23:40 +00:00
Where do these notices hide? Now one is removed
This commit is contained in:
parent
e2c27aed3e
commit
c487765860
1 changed files with 4 additions and 0 deletions
|
@ -163,6 +163,10 @@ function langfilter_prepare_body_content_filter(App $a, &$hook_data)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (empty($iso2)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$lang = Text_LanguageDetect_ISO639::code2ToName($iso2);
|
$lang = Text_LanguageDetect_ISO639::code2ToName($iso2);
|
||||||
} else {
|
} else {
|
||||||
$opts = $hook_data['item']['postopts'];
|
$opts = $hook_data['item']['postopts'];
|
||||||
|
|
Loading…
Reference in a new issue