Merge pull request #727 from annando/still-notices

Where do these notices hide? Now one is removed
This commit is contained in:
Tobias Diekershoff 2018-08-31 07:53:33 +02:00 committed by GitHub
commit 3274124223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -163,6 +163,10 @@ function langfilter_prepare_body_content_filter(App $a, &$hook_data)
break;
}
if (empty($iso2)) {
return;
}
$lang = Text_LanguageDetect_ISO639::code2ToName($iso2);
} else {
$opts = $hook_data['item']['postopts'];